| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Arch specific extensions to struct device |
|---|
| 3 | | - * |
|---|
| 4 | | - * This file is released under the GPLv2 |
|---|
| 5 | 4 | */ |
|---|
| 6 | 5 | #ifndef ASMARM_DEVICE_H |
|---|
| 7 | 6 | #define ASMARM_DEVICE_H |
|---|
| .. | .. |
|---|
| 10 | 9 | #ifdef CONFIG_DMABOUNCE |
|---|
| 11 | 10 | struct dmabounce_device_info *dmabounce; |
|---|
| 12 | 11 | #endif |
|---|
| 13 | | -#ifdef CONFIG_IOMMU_API |
|---|
| 14 | | - void *iommu; /* private IOMMU data */ |
|---|
| 15 | | -#endif |
|---|
| 16 | 12 | #ifdef CONFIG_ARM_DMA_USE_IOMMU |
|---|
| 17 | 13 | struct dma_iommu_mapping *mapping; |
|---|
| 18 | | -#endif |
|---|
| 19 | | -#ifdef CONFIG_XEN |
|---|
| 20 | | - const struct dma_map_ops *dev_dma_ops; |
|---|
| 21 | 14 | #endif |
|---|
| 22 | 15 | unsigned int dma_coherent:1; |
|---|
| 23 | 16 | unsigned int dma_ops_setup:1; |
|---|