Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Since 21bdd17b21b45ea48e06e23918d681afbe0622e9 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: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>

authored by

Sjoerd Simons and committed by
Inki Dae
0262ceeb 9cc7d85e

+2
+1
drivers/gpu/drm/exynos/exynos_drm_fimd.c
··· 174 174 .data = &exynos5_fimd_driver_data }, 175 175 {}, 176 176 }; 177 + MODULE_DEVICE_TABLE(of, fimd_driver_dt_match); 177 178 178 179 static inline struct fimd_driver_data *drm_fimd_get_driver_data( 179 180 struct platform_device *pdev)
+1
drivers/gpu/drm/exynos/exynos_drm_g2d.c
··· 1547 1547 { .compatible = "samsung,exynos4212-g2d" }, 1548 1548 {}, 1549 1549 }; 1550 + MODULE_DEVICE_TABLE(of, exynos_g2d_match); 1550 1551 1551 1552 struct platform_driver g2d_driver = { 1552 1553 .probe = g2d_probe,