mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Introduce a new architecture-specific get_arch_dma_ops() function that takes a struct bus_type * argument. Add get_dma_ops() in <linux/dma-mapping.h>. Signed-off-by: Bart Van Assche <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Boris Ostrovsky <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Juergen Gross <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Russell King <[email protected]> Cc: [email protected] Signed-off-by: Doug Ledford <[email protected]>
12 lines
230 B
C
12 lines
230 B
C
#ifndef _H8300_DMA_MAPPING_H
|
|
#define _H8300_DMA_MAPPING_H
|
|
|
|
extern const struct dma_map_ops h8300_dma_map_ops;
|
|
|
|
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
|
|
{
|
|
return &h8300_dma_map_ops;
|
|
}
|
|
|
|
#endif
|