Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0262ceeb authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Inki Dae
Browse files

Subject: Revert "drm/exynos: fix module build error"



Since 21bdd17b it is possible to have
multiple calls to MODULE_DEVICE_TABLE, so the patch can be
reverted to restore support for autoloading

Conflicts:
	drivers/gpu/drm/exynos/exynos_drm_fimd.c
	drivers/gpu/drm/exynos/exynos_drm_g2d.c

Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 9cc7d85e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -174,6 +174,7 @@ static const struct of_device_id fimd_driver_dt_match[] = {
	  .data = &exynos5_fimd_driver_data },
	  .data = &exynos5_fimd_driver_data },
	{},
	{},
};
};
MODULE_DEVICE_TABLE(of, fimd_driver_dt_match);


static inline struct fimd_driver_data *drm_fimd_get_driver_data(
static inline struct fimd_driver_data *drm_fimd_get_driver_data(
	struct platform_device *pdev)
	struct platform_device *pdev)
+1 −0
Original line number Original line Diff line number Diff line
@@ -1547,6 +1547,7 @@ static const struct of_device_id exynos_g2d_match[] = {
	{ .compatible = "samsung,exynos4212-g2d" },
	{ .compatible = "samsung,exynos4212-g2d" },
	{},
	{},
};
};
MODULE_DEVICE_TABLE(of, exynos_g2d_match);


struct platform_driver g2d_driver = {
struct platform_driver g2d_driver = {
	.probe		= g2d_probe,
	.probe		= g2d_probe,