Subject: Revert "drm/exynos: fix module build error"
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Wed, 30 Jul 2014 02:28:31 +0000 (11:28 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 4 Aug 2014 04:39:26 +0000 (13:39 +0900)
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>
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_g2d.c

index 28a3168e24a77eabf790f15abb718cc1bf1d9191..5d09e33fef8716084a169bee2afb63e429187b48 100644 (file)
@@ -174,6 +174,7 @@ static const struct of_device_id fimd_driver_dt_match[] = {
          .data = &exynos5_fimd_driver_data },
        {},
 };
+MODULE_DEVICE_TABLE(of, fimd_driver_dt_match);
 
 static inline struct fimd_driver_data *drm_fimd_get_driver_data(
        struct platform_device *pdev)
index 5fa1bb6ba52c93c8df074de6c8865900ac4697d1..4e7d1b667ce8f4d549cc0854b21b78f09994eba9 100644 (file)
@@ -1547,6 +1547,7 @@ static const struct of_device_id exynos_g2d_match[] = {
        { .compatible = "samsung,exynos4212-g2d" },
        {},
 };
+MODULE_DEVICE_TABLE(of, exynos_g2d_match);
 
 struct platform_driver g2d_driver = {
        .probe          = g2d_probe,