diff options
Diffstat (limited to 'drivers/media/video/pxa_camera.c')
-rw-r--r-- | drivers/media/video/pxa_camera.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c index 2f9ae634b7cf..0bd7da26d018 100644 --- a/drivers/media/video/pxa_camera.c +++ b/drivers/media/video/pxa_camera.c | |||
@@ -1852,19 +1852,7 @@ static struct platform_driver pxa_camera_driver = { | |||
1852 | .remove = __devexit_p(pxa_camera_remove), | 1852 | .remove = __devexit_p(pxa_camera_remove), |
1853 | }; | 1853 | }; |
1854 | 1854 | ||
1855 | 1855 | module_platform_driver(pxa_camera_driver); | |
1856 | static int __init pxa_camera_init(void) | ||
1857 | { | ||
1858 | return platform_driver_register(&pxa_camera_driver); | ||
1859 | } | ||
1860 | |||
1861 | static void __exit pxa_camera_exit(void) | ||
1862 | { | ||
1863 | platform_driver_unregister(&pxa_camera_driver); | ||
1864 | } | ||
1865 | |||
1866 | module_init(pxa_camera_init); | ||
1867 | module_exit(pxa_camera_exit); | ||
1868 | 1856 | ||
1869 | MODULE_DESCRIPTION("PXA27x SoC Camera Host driver"); | 1857 | MODULE_DESCRIPTION("PXA27x SoC Camera Host driver"); |
1870 | MODULE_AUTHOR("Guennadi Liakhovetski <kernel@pengutronix.de>"); | 1858 | MODULE_AUTHOR("Guennadi Liakhovetski <kernel@pengutronix.de>"); |