aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_fimd.c
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2012-03-16 05:47:08 -0400
committerDave Airlie <airlied@redhat.com>2012-03-20 05:40:23 -0400
commit132a5b915f41f88356662c14c6866550ce2a08b6 (patch)
tree64fbfe5a1ee00b97b9c2adef47f8983b6c63791e /drivers/gpu/drm/exynos/exynos_drm_fimd.c
parent3ab09435d5fbad63842cd2749f95deec336eb566 (diff)
drm/exynos: remove module of exynos drm subdrv
The exynos drm driver has several subdrv. They each can be module but it causes unfixed probe order of exynodr drm driver and each subdrv. It also needs some weird codes such as exynos_drm_fbdev_reinit and exynos_drm_mode_group_reinit. This patch can remove weird codes and clear codes through we doesn't modularity each subdrv. Also this removes unnecessary codes related module. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fimd.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fimd.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 360adf2bba04..101d64c7a9be 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -1012,7 +1012,7 @@ static const struct dev_pm_ops fimd_pm_ops = {
1012 SET_RUNTIME_PM_OPS(fimd_runtime_suspend, fimd_runtime_resume, NULL) 1012 SET_RUNTIME_PM_OPS(fimd_runtime_suspend, fimd_runtime_resume, NULL)
1013}; 1013};
1014 1014
1015static struct platform_driver fimd_driver = { 1015struct platform_driver fimd_driver = {
1016 .probe = fimd_probe, 1016 .probe = fimd_probe,
1017 .remove = __devexit_p(fimd_remove), 1017 .remove = __devexit_p(fimd_remove),
1018 .driver = { 1018 .driver = {
@@ -1021,21 +1021,3 @@ static struct platform_driver fimd_driver = {
1021 .pm = &fimd_pm_ops, 1021 .pm = &fimd_pm_ops,
1022 }, 1022 },
1023}; 1023};
1024
1025static int __init fimd_init(void)
1026{
1027 return platform_driver_register(&fimd_driver);
1028}
1029
1030static void __exit fimd_exit(void)
1031{
1032 platform_driver_unregister(&fimd_driver);
1033}
1034
1035module_init(fimd_init);
1036module_exit(fimd_exit);
1037
1038MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
1039MODULE_AUTHOR("Inki Dae <inki.dae@samsung.com>");
1040MODULE_DESCRIPTION("Samsung DRM FIMD Driver");
1041MODULE_LICENSE("GPL");