Skip to content

Commit 61c48fb

Browse files
Sachin Kamatdaeinki
authored andcommitted
drm/exynos: Remove non-DT support in exynos_drm_g2d
Since commit 383ffda ("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: Sachin Kamat <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent 459e97e commit 61c48fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/exynos/exynos_drm_g2d.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,12 +1534,10 @@ static const struct dev_pm_ops g2d_pm_ops = {
15341534
SET_RUNTIME_PM_OPS(g2d_runtime_suspend, g2d_runtime_resume, NULL)
15351535
};
15361536

1537-
#ifdef CONFIG_OF
15381537
static const struct of_device_id exynos_g2d_match[] = {
15391538
{ .compatible = "samsung,exynos5250-g2d" },
15401539
{},
15411540
};
1542-
#endif
15431541

15441542
struct platform_driver g2d_driver = {
15451543
.probe = g2d_probe,
@@ -1548,6 +1546,6 @@ struct platform_driver g2d_driver = {
15481546
.name = "s5p-g2d",
15491547
.owner = THIS_MODULE,
15501548
.pm = &g2d_pm_ops,
1551-
.of_match_table = of_match_ptr(exynos_g2d_match),
1549+
.of_match_table = exynos_g2d_match,
15521550
},
15531551
};

0 commit comments

Comments
 (0)