diff options
-rw-r--r-- | drivers/iommu/tegra-smmu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 117427e6004e..8b1d9f758076 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c | |||
@@ -1267,13 +1267,11 @@ const struct dev_pm_ops tegra_smmu_pm_ops = { | |||
1267 | .resume = tegra_smmu_resume, | 1267 | .resume = tegra_smmu_resume, |
1268 | }; | 1268 | }; |
1269 | 1269 | ||
1270 | #ifdef CONFIG_OF | ||
1271 | static struct of_device_id tegra_smmu_of_match[] = { | 1270 | static struct of_device_id tegra_smmu_of_match[] = { |
1272 | { .compatible = "nvidia,tegra30-smmu", }, | 1271 | { .compatible = "nvidia,tegra30-smmu", }, |
1273 | { }, | 1272 | { }, |
1274 | }; | 1273 | }; |
1275 | MODULE_DEVICE_TABLE(of, tegra_smmu_of_match); | 1274 | MODULE_DEVICE_TABLE(of, tegra_smmu_of_match); |
1276 | #endif | ||
1277 | 1275 | ||
1278 | static struct platform_driver tegra_smmu_driver = { | 1276 | static struct platform_driver tegra_smmu_driver = { |
1279 | .probe = tegra_smmu_probe, | 1277 | .probe = tegra_smmu_probe, |
@@ -1282,7 +1280,7 @@ static struct platform_driver tegra_smmu_driver = { | |||
1282 | .owner = THIS_MODULE, | 1280 | .owner = THIS_MODULE, |
1283 | .name = "tegra-smmu", | 1281 | .name = "tegra-smmu", |
1284 | .pm = &tegra_smmu_pm_ops, | 1282 | .pm = &tegra_smmu_pm_ops, |
1285 | .of_match_table = of_match_ptr(tegra_smmu_of_match), | 1283 | .of_match_table = tegra_smmu_of_match, |
1286 | }, | 1284 | }, |
1287 | }; | 1285 | }; |
1288 | 1286 | ||