diff options
Diffstat (limited to 'drivers/iommu/tegra-gart.c')
-rw-r--r-- | drivers/iommu/tegra-gart.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c index 8219f1d596ee..86437575f94d 100644 --- a/drivers/iommu/tegra-gart.c +++ b/drivers/iommu/tegra-gart.c | |||
@@ -430,13 +430,11 @@ const struct dev_pm_ops tegra_gart_pm_ops = { | |||
430 | .resume = tegra_gart_resume, | 430 | .resume = tegra_gart_resume, |
431 | }; | 431 | }; |
432 | 432 | ||
433 | #ifdef CONFIG_OF | ||
434 | static struct of_device_id tegra_gart_of_match[] = { | 433 | static struct of_device_id tegra_gart_of_match[] = { |
435 | { .compatible = "nvidia,tegra20-gart", }, | 434 | { .compatible = "nvidia,tegra20-gart", }, |
436 | { }, | 435 | { }, |
437 | }; | 436 | }; |
438 | MODULE_DEVICE_TABLE(of, tegra_gart_of_match); | 437 | MODULE_DEVICE_TABLE(of, tegra_gart_of_match); |
439 | #endif | ||
440 | 438 | ||
441 | static struct platform_driver tegra_gart_driver = { | 439 | static struct platform_driver tegra_gart_driver = { |
442 | .probe = tegra_gart_probe, | 440 | .probe = tegra_gart_probe, |
@@ -445,7 +443,7 @@ static struct platform_driver tegra_gart_driver = { | |||
445 | .owner = THIS_MODULE, | 443 | .owner = THIS_MODULE, |
446 | .name = "tegra-gart", | 444 | .name = "tegra-gart", |
447 | .pm = &tegra_gart_pm_ops, | 445 | .pm = &tegra_gart_pm_ops, |
448 | .of_match_table = of_match_ptr(tegra_gart_of_match), | 446 | .of_match_table = tegra_gart_of_match, |
449 | }, | 447 | }, |
450 | }; | 448 | }; |
451 | 449 | ||