diff options
Diffstat (limited to 'arch/arm/include/asm/device.h')
| -rw-r--r-- | arch/arm/include/asm/device.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h index 4111592f0130..3234fe9bba6e 100644 --- a/arch/arm/include/asm/device.h +++ b/arch/arm/include/asm/device.h @@ -7,7 +7,6 @@ #define ASMARM_DEVICE_H struct dev_archdata { - struct dma_map_ops *dma_ops; #ifdef CONFIG_DMABOUNCE struct dmabounce_device_info *dmabounce; #endif @@ -17,7 +16,11 @@ struct dev_archdata { #ifdef CONFIG_ARM_DMA_USE_IOMMU struct dma_iommu_mapping *mapping; #endif - bool dma_coherent; +#ifdef CONFIG_XEN + const struct dma_map_ops *dev_dma_ops; +#endif + unsigned int dma_coherent:1; + unsigned int dma_ops_setup:1; }; struct omap_device; |