]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/iommu/rockchip-iommu.c
Merge branches 'arm/rockchip', 'arm/exynos', 'arm/smmu', 'x86/vt-d', 'x86/amd', ...
[karo-tx-linux.git] / drivers / iommu / rockchip-iommu.c
index 37f6a594c1c85c3f649a319a7c14c6bc95ad57a3..ebf0adb8e7ea729f5cab436de29a8e18afd8d78c 100644 (file)
@@ -1015,20 +1015,18 @@ static int rk_iommu_remove(struct platform_device *pdev)
        return 0;
 }
 
-#ifdef CONFIG_OF
 static const struct of_device_id rk_iommu_dt_ids[] = {
        { .compatible = "rockchip,iommu" },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, rk_iommu_dt_ids);
-#endif
 
 static struct platform_driver rk_iommu_driver = {
        .probe = rk_iommu_probe,
        .remove = rk_iommu_remove,
        .driver = {
                   .name = "rk_iommu",
-                  .of_match_table = of_match_ptr(rk_iommu_dt_ids),
+                  .of_match_table = rk_iommu_dt_ids,
        },
 };