diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-04-10 23:58:24 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-05-05 15:18:24 +0200 |
commit | d9e7eb152bb24f06028a0d10b054e39ebdf14f9c (patch) | |
tree | f1d49c35c68aab11a9aa8858d8d95929f22b9463 /drivers/iommu/arm-smmu.c | |
parent | iommu/amd: Fix bug in put_pasid_state_wait (diff) | |
download | linux-d9e7eb152bb24f06028a0d10b054e39ebdf14f9c.tar.xz linux-d9e7eb152bb24f06028a0d10b054e39ebdf14f9c.zip |
iommu/rockchip: Fix build without CONFIG_OF
The rockchip iommu driver references its of_device_id table
from the init function, which fails to build when the table
is undefined:
iommu/rockchip-iommu.c: In function 'rk_iommu_init':
iommu/rockchip-iommu.c:1029:35: error: 'rk_iommu_dt_ids' undeclared (first use in this function)
np = of_find_matching_node(NULL, rk_iommu_dt_ids);
This removes the #ifdef and the corresponding of_match_ptr wrapper
to make it build both with CONFIG_OF enabled or disabled.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 425061b0f5074 ("iommu/rockchip: Play nice in multi-platform builds")
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions