| Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 dev_archdata { | ||||
| 10 | #ifdef CONFIG_DMA_PERDEV_COHERENT | ||||
| 11 | /* Non-zero if DMA is coherent with CPU caches */ | ||||
| 12 | bool dma_coherent; | ||||
| 13 | #endif | ||||
| 14 | }; | ||||
| 15 | |||||
| 16 | struct pdev_archdata { | ||||
| 17 | }; | ||||
| 18 | |||||
| 19 | #endif /* _ASM_MIPS_DEVICE_H*/ | ||||