Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (C) 2004 IBM |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 4 | */ |
| 5 | #ifndef _ASM_DMA_MAPPING_H |
| 6 | #define _ASM_DMA_MAPPING_H |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 7 | |
| 8 | static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) |
| 9 | { |
| 10 | /* We don't handle the NULL dev case for ISA for now. We could |
| 11 | * do it via an out of line call but it is not needed for now. The |
| 12 | * only ISA DMA device we support is the floppy and we have a hack |
| 13 | * in the floppy driver directly to get a device for us. |
| 14 | */ |
| 15 | return NULL; |
| 16 | } |
| 17 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 18 | #endif /* _ASM_DMA_MAPPING_H */ |