Commit 61c48fbf authored by Sachin Kamat's avatar Sachin Kamat Committed by Inki Dae

drm/exynos: Remove non-DT support in exynos_drm_g2d

Since commit 383ffda2 ("ARM: EXYNOS: no more support non-DT
for EXYNOS SoCs"), Exynos platform is DT only. Hence remove
all the conditional macros and make the driver DT only.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 459e97ee
...@@ -1534,12 +1534,10 @@ static const struct dev_pm_ops g2d_pm_ops = { ...@@ -1534,12 +1534,10 @@ static const struct dev_pm_ops g2d_pm_ops = {
SET_RUNTIME_PM_OPS(g2d_runtime_suspend, g2d_runtime_resume, NULL) SET_RUNTIME_PM_OPS(g2d_runtime_suspend, g2d_runtime_resume, NULL)
}; };
#ifdef CONFIG_OF
static const struct of_device_id exynos_g2d_match[] = { static const struct of_device_id exynos_g2d_match[] = {
{ .compatible = "samsung,exynos5250-g2d" }, { .compatible = "samsung,exynos5250-g2d" },
{}, {},
}; };
#endif
struct platform_driver g2d_driver = { struct platform_driver g2d_driver = {
.probe = g2d_probe, .probe = g2d_probe,
...@@ -1548,6 +1546,6 @@ struct platform_driver g2d_driver = { ...@@ -1548,6 +1546,6 @@ struct platform_driver g2d_driver = {
.name = "s5p-g2d", .name = "s5p-g2d",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &g2d_pm_ops, .pm = &g2d_pm_ops,
.of_match_table = of_match_ptr(exynos_g2d_match), .of_match_table = exynos_g2d_match,
}, },
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment