diff options
Diffstat (limited to 'drivers/media/video/ov7670.c')
-rw-r--r-- | drivers/media/video/ov7670.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c index 6a564964853a..e7c82b297514 100644 --- a/drivers/media/video/ov7670.c +++ b/drivers/media/video/ov7670.c | |||
@@ -1583,15 +1583,4 @@ static struct i2c_driver ov7670_driver = { | |||
1583 | .id_table = ov7670_id, | 1583 | .id_table = ov7670_id, |
1584 | }; | 1584 | }; |
1585 | 1585 | ||
1586 | static __init int init_ov7670(void) | 1586 | module_i2c_driver(ov7670_driver); |
1587 | { | ||
1588 | return i2c_add_driver(&ov7670_driver); | ||
1589 | } | ||
1590 | |||
1591 | static __exit void exit_ov7670(void) | ||
1592 | { | ||
1593 | i2c_del_driver(&ov7670_driver); | ||
1594 | } | ||
1595 | |||
1596 | module_init(init_ov7670); | ||
1597 | module_exit(exit_ov7670); | ||