diff options
Diffstat (limited to 'drivers/media/video/saa7185.c')
-rw-r--r-- | drivers/media/video/saa7185.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/saa7185.c b/drivers/media/video/saa7185.c index 96f56c2f11f3..2c6b65c76e2b 100644 --- a/drivers/media/video/saa7185.c +++ b/drivers/media/video/saa7185.c | |||
@@ -374,15 +374,4 @@ static struct i2c_driver saa7185_driver = { | |||
374 | .id_table = saa7185_id, | 374 | .id_table = saa7185_id, |
375 | }; | 375 | }; |
376 | 376 | ||
377 | static __init int init_saa7185(void) | 377 | module_i2c_driver(saa7185_driver); |
378 | { | ||
379 | return i2c_add_driver(&saa7185_driver); | ||
380 | } | ||
381 | |||
382 | static __exit void exit_saa7185(void) | ||
383 | { | ||
384 | i2c_del_driver(&saa7185_driver); | ||
385 | } | ||
386 | |||
387 | module_init(init_saa7185); | ||
388 | module_exit(exit_saa7185); | ||