Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[cascardo/linux.git] / arch / mips / include / asm / device.h
1 /*
2  * Arch specific extensions to struct device
3  *
4  * This file is released under the GPLv2
5  */
6 #ifndef _ASM_MIPS_DEVICE_H
7 #define _ASM_MIPS_DEVICE_H
8
9 struct dma_map_ops;
10
11 struct dev_archdata {
12         /* DMA operations on that device */
13         struct dma_map_ops *dma_ops;
14
15 #ifdef CONFIG_DMA_PERDEV_COHERENT
16         /* Non-zero if DMA is coherent with CPU caches */
17         bool dma_coherent;
18 #endif
19 };
20
21 struct pdev_archdata {
22 };
23
24 #endif /* _ASM_MIPS_DEVICE_H*/