]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: store DT-probed IOMMU data privately
authorRobin Murphy <Robin.Murphy@arm.com>
Fri, 5 Dec 2014 13:41:02 +0000 (13:41 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 5 Dec 2014 14:35:52 +0000 (14:35 +0000)
commit52b3ce1f2a15cd1578d25b3beae06313fb7c94c6
treee6f54fe900945b7c1939757a59aeabc510605a27
parent77bfb650a1ca820d5ab1d3d1327c36154903c633
iommu: store DT-probed IOMMU data privately

Since the data pointer in the DT node is public and may be overwritten
by conflicting code, move the DT-probed IOMMU ops to a private list
where they will be safe.

Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
[will: added missing #include and missing ')']
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/of_iommu.c
include/linux/of_iommu.h