b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (C) 2004 IBM |
| 4 | */ |
| 5 | #ifndef _ASM_DMA_MAPPING_H |
| 6 | #define _ASM_DMA_MAPPING_H |
| 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 | |
| 18 | #endif /* _ASM_DMA_MAPPING_H */ |