diff options
Diffstat (limited to 'drivers/media/video/indycam.c')
-rw-r--r-- | drivers/media/video/indycam.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/indycam.c b/drivers/media/video/indycam.c index e5ed4db32e7b..548236333cce 100644 --- a/drivers/media/video/indycam.c +++ b/drivers/media/video/indycam.c | |||
@@ -387,15 +387,4 @@ static struct i2c_driver indycam_driver = { | |||
387 | .id_table = indycam_id, | 387 | .id_table = indycam_id, |
388 | }; | 388 | }; |
389 | 389 | ||
390 | static __init int init_indycam(void) | 390 | module_i2c_driver(indycam_driver); |
391 | { | ||
392 | return i2c_add_driver(&indycam_driver); | ||
393 | } | ||
394 | |||
395 | static __exit void exit_indycam(void) | ||
396 | { | ||
397 | i2c_del_driver(&indycam_driver); | ||
398 | } | ||
399 | |||
400 | module_init(init_indycam); | ||
401 | module_exit(exit_indycam); | ||