]> git.kernelconcepts.de Git - karo-tx-linux.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)
commita42a7a1fb5f1f9004b023594609dc22da02fc08b
treee6f54fe900945b7c1939757a59aeabc510605a27
parent4bb25789ed28228a52c030bf28edb2fcdb214be8
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