blob: 565d6f74b189cc23dc5b985915da97aedf2c6c09 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2004 IBM
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
5#ifndef _ASM_DMA_MAPPING_H
6#define _ASM_DMA_MAPPING_H
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007
8static 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 Scullb4b6d4a2019-01-02 15:54:55 +000018#endif /* _ASM_DMA_MAPPING_H */