diff options
author | Inki Dae <inki.dae@samsung.com> | 2013-07-22 07:51:42 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2013-07-29 13:01:53 -0400 |
commit | de1d3677017a1d58419722b60564cb56bd9462c3 (patch) | |
tree | 9403e3e016cf8b4fb15b9cc3b27f1b366d9b2086 /drivers/gpu/drm/exynos | |
parent | be348790e46cf3783f265b0ecf9fa9dc68bd6f15 (diff) |
drm/exynos: fix module build error
This patch removes all MODULE_DEVICE_TABLE declarations.
Exynos drm drivers don't need to create MODULE_DEVICE_TABLE
yet because all devices of Exynos drm include in one SoC so
they cannot be plugged in as of now.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_g2d.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 3e106beca5b6..5dba79ef5f31 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c | |||
@@ -130,7 +130,6 @@ static const struct of_device_id fimd_driver_dt_match[] = { | |||
130 | .data = &exynos5_fimd_driver_data }, | 130 | .data = &exynos5_fimd_driver_data }, |
131 | {}, | 131 | {}, |
132 | }; | 132 | }; |
133 | MODULE_DEVICE_TABLE(of, fimd_driver_dt_match); | ||
134 | #endif | 133 | #endif |
135 | 134 | ||
136 | static inline struct fimd_driver_data *drm_fimd_get_driver_data( | 135 | static inline struct fimd_driver_data *drm_fimd_get_driver_data( |
@@ -1082,7 +1081,6 @@ static struct platform_device_id fimd_driver_ids[] = { | |||
1082 | }, | 1081 | }, |
1083 | {}, | 1082 | {}, |
1084 | }; | 1083 | }; |
1085 | MODULE_DEVICE_TABLE(platform, fimd_driver_ids); | ||
1086 | 1084 | ||
1087 | static const struct dev_pm_ops fimd_pm_ops = { | 1085 | static const struct dev_pm_ops fimd_pm_ops = { |
1088 | SET_SYSTEM_SLEEP_PM_OPS(fimd_suspend, fimd_resume) | 1086 | 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 42a5a5466075..4722662e22c7 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c +++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c | |||
@@ -1521,7 +1521,6 @@ static const struct of_device_id exynos_g2d_match[] = { | |||
1521 | { .compatible = "samsung,exynos5250-g2d" }, | 1521 | { .compatible = "samsung,exynos5250-g2d" }, |
1522 | {}, | 1522 | {}, |
1523 | }; | 1523 | }; |
1524 | MODULE_DEVICE_TABLE(of, exynos_g2d_match); | ||
1525 | #endif | 1524 | #endif |
1526 | 1525 | ||
1527 | struct platform_driver g2d_driver = { | 1526 | struct platform_driver g2d_driver = { |