summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2013-07-22 19:57:05 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:40 +0900
commite6d2d43974141baf6e52c54b57a960989344b5b4 (patch)
treece0cbb29eca21d84e48f2c0d4b25eb87780ef97c /drivers
parent8dd6e00ce4dc5d17f04c75b81fd3c0cd1eb71367 (diff)
downloadlinux-3.10-e6d2d43974141baf6e52c54b57a960989344b5b4.tar.gz
linux-3.10-e6d2d43974141baf6e52c54b57a960989344b5b4.tar.bz2
linux-3.10-e6d2d43974141baf6e52c54b57a960989344b5b4.zip
drm/exynos: fix module build error
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fimd.c2
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_g2d.c1
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_rotator.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index e8465f56901..5c68289e76a 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -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)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 7a6e310b38c..310fbe80766 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@ -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 = {
diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c
index 039e23aa9c7..3d38a917ae5 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c
@@ -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)
{