drm/exynos: fix module build error
authorInki Dae <inki.dae@samsung.com>
Mon, 22 Jul 2013 10:57:05 +0000 (19:57 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:40 +0000 (11:43 +0900)
Exynos drm drivers don't need to export device tables because
all devices of Exynos drm include in one SoC so they cannot be
plugged in.

P.S. we need to create MODULE_DEVICE_TABLE in case of enabling
the linux-hotplug system to load the driver automatically when
the device is plugged in.

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
drivers/gpu/drm/exynos/exynos_drm_rotator.c

index e8465f5..5c68289 100644 (file)
@@ -117,7 +117,6 @@ static const struct of_device_id fimd_driver_dt_match[] = {
          .data = &exynos5_fimd_driver_data },
        {},
 };
-MODULE_DEVICE_TABLE(of, fimd_driver_dt_match);
 #endif
 
 static inline struct fimd_driver_data *drm_fimd_get_driver_data(
@@ -1120,7 +1119,6 @@ static struct platform_device_id fimd_driver_ids[] = {
        },
        {},
 };
-MODULE_DEVICE_TABLE(platform, fimd_driver_ids);
 
 static const struct dev_pm_ops fimd_pm_ops = {
        SET_SYSTEM_SLEEP_PM_OPS(fimd_suspend, fimd_resume)
index 7a6e310..310fbe8 100644 (file)
@@ -1526,7 +1526,6 @@ static const struct of_device_id exynos_g2d_match[] = {
        { .compatible = "samsung,exynos5250-g2d" },
        {},
 };
-MODULE_DEVICE_TABLE(of, exynos_g2d_match);
 #endif
 
 struct platform_driver g2d_driver = {
index 039e23a..3d38a91 100644 (file)
@@ -645,7 +645,6 @@ static const struct of_device_id exynos_rotator_match[] = {
        },
        {},
 };
-MODULE_DEVICE_TABLE(of, exynos_rotator_match);
 
 static int rotator_parse_dt_tbl(struct device_node *np, struct rot_limit *rlim)
 {