mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
driver: rknpu: Update rknpu_iommu.c to exclude IOMMU API based on ARM architecture.
Change-Id: I50e95805b2db63ccf672de389bcad5dfb46a4a83 Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
This commit is contained in:
@@ -364,7 +364,7 @@ void rknpu_iommu_dma_unmap_sg(struct device *dev, struct scatterlist *sg,
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(CONFIG_IOMMU_API) && defined(CONFIG_NO_GKI)
|
||||
#if defined(CONFIG_IOMMU_API) && defined(CONFIG_NO_GKI) && !defined(CONFIG_ARM)
|
||||
|
||||
#if KERNEL_VERSION(6, 1, 0) <= LINUX_VERSION_CODE
|
||||
struct iommu_group {
|
||||
|
||||
Reference in New Issue
Block a user