diff options
Diffstat (limited to 'drivers/media/video/via-camera.c')
-rw-r--r-- | drivers/media/video/via-camera.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/media/video/via-camera.c b/drivers/media/video/via-camera.c index 6a828759e387..7e2c34ed0564 100644 --- a/drivers/media/video/via-camera.c +++ b/drivers/media/video/via-camera.c | |||
@@ -1500,14 +1500,4 @@ static struct platform_driver viacam_driver = { | |||
1500 | .remove = viacam_remove, | 1500 | .remove = viacam_remove, |
1501 | }; | 1501 | }; |
1502 | 1502 | ||
1503 | static int viacam_init(void) | 1503 | module_platform_driver(viacam_driver); |
1504 | { | ||
1505 | return platform_driver_register(&viacam_driver); | ||
1506 | } | ||
1507 | module_init(viacam_init); | ||
1508 | |||
1509 | static void viacam_exit(void) | ||
1510 | { | ||
1511 | platform_driver_unregister(&viacam_driver); | ||
1512 | } | ||
1513 | module_exit(viacam_exit); | ||