diff options
Diffstat (limited to 'drivers/media/video/saa7115.c')
-rw-r--r-- | drivers/media/video/saa7115.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index 0ef5484696b6..2107336cd836 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -1724,15 +1724,4 @@ static struct i2c_driver saa711x_driver = { | |||
1724 | .id_table = saa711x_id, | 1724 | .id_table = saa711x_id, |
1725 | }; | 1725 | }; |
1726 | 1726 | ||
1727 | static __init int init_saa711x(void) | 1727 | module_i2c_driver(saa711x_driver); |
1728 | { | ||
1729 | return i2c_add_driver(&saa711x_driver); | ||
1730 | } | ||
1731 | |||
1732 | static __exit void exit_saa711x(void) | ||
1733 | { | ||
1734 | i2c_del_driver(&saa711x_driver); | ||
1735 | } | ||
1736 | |||
1737 | module_init(init_saa711x); | ||
1738 | module_exit(exit_saa711x); | ||