diff options
Diffstat (limited to 'drivers/media/video/s5p-g2d/g2d.c')
-rw-r--r-- | drivers/media/video/s5p-g2d/g2d.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/media/video/s5p-g2d/g2d.c b/drivers/media/video/s5p-g2d/g2d.c index 1f156c8fe63e..c40b0dde1883 100644 --- a/drivers/media/video/s5p-g2d/g2d.c +++ b/drivers/media/video/s5p-g2d/g2d.c | |||
@@ -803,21 +803,7 @@ static struct platform_driver g2d_pdrv = { | |||
803 | }, | 803 | }, |
804 | }; | 804 | }; |
805 | 805 | ||
806 | static void __exit g2d_exit(void) | 806 | module_platform_driver(g2d_pdrv); |
807 | { | ||
808 | platform_driver_unregister(&g2d_pdrv); | ||
809 | }; | ||
810 | |||
811 | static int __init g2d_init(void) | ||
812 | { | ||
813 | int ret = 0; | ||
814 | |||
815 | ret = platform_driver_register(&g2d_pdrv); | ||
816 | return ret; | ||
817 | }; | ||
818 | |||
819 | module_init(g2d_init); | ||
820 | module_exit(g2d_exit); | ||
821 | 807 | ||
822 | MODULE_AUTHOR("Kamil Debski <k.debski@samsung.com>"); | 808 | MODULE_AUTHOR("Kamil Debski <k.debski@samsung.com>"); |
823 | MODULE_DESCRIPTION("S5P G2D 2d graphics accelerator driver"); | 809 | MODULE_DESCRIPTION("S5P G2D 2d graphics accelerator driver"); |