aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_g2d.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 0b8b6e43bbd2..3271fd4b1724 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@ -1534,12 +1534,10 @@ static const struct dev_pm_ops g2d_pm_ops = {
1534 SET_RUNTIME_PM_OPS(g2d_runtime_suspend, g2d_runtime_resume, NULL) 1534 SET_RUNTIME_PM_OPS(g2d_runtime_suspend, g2d_runtime_resume, NULL)
1535}; 1535};
1536 1536
1537#ifdef CONFIG_OF
1538static const struct of_device_id exynos_g2d_match[] = { 1537static const struct of_device_id exynos_g2d_match[] = {
1539 { .compatible = "samsung,exynos5250-g2d" }, 1538 { .compatible = "samsung,exynos5250-g2d" },
1540 {}, 1539 {},
1541}; 1540};
1542#endif
1543 1541
1544struct platform_driver g2d_driver = { 1542struct platform_driver g2d_driver = {
1545 .probe = g2d_probe, 1543 .probe = g2d_probe,
@@ -1548,6 +1546,6 @@ struct platform_driver g2d_driver = {
1548 .name = "s5p-g2d", 1546 .name = "s5p-g2d",
1549 .owner = THIS_MODULE, 1547 .owner = THIS_MODULE,
1550 .pm = &g2d_pm_ops, 1548 .pm = &g2d_pm_ops,
1551 .of_match_table = of_match_ptr(exynos_g2d_match), 1549 .of_match_table = exynos_g2d_match,
1552 }, 1550 },
1553}; 1551};