diff options
Diffstat (limited to 'drivers/media/video/s5k6aa.c')
-rw-r--r-- | drivers/media/video/s5k6aa.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/s5k6aa.c b/drivers/media/video/s5k6aa.c index 68df8d5befe2..6625e46a4638 100644 --- a/drivers/media/video/s5k6aa.c +++ b/drivers/media/video/s5k6aa.c | |||
@@ -1663,18 +1663,7 @@ static struct i2c_driver s5k6aa_i2c_driver = { | |||
1663 | .id_table = s5k6aa_id, | 1663 | .id_table = s5k6aa_id, |
1664 | }; | 1664 | }; |
1665 | 1665 | ||
1666 | static int __init s5k6aa_init(void) | 1666 | module_i2c_driver(s5k6aa_i2c_driver); |
1667 | { | ||
1668 | return i2c_add_driver(&s5k6aa_i2c_driver); | ||
1669 | } | ||
1670 | |||
1671 | static void __exit s5k6aa_exit(void) | ||
1672 | { | ||
1673 | i2c_del_driver(&s5k6aa_i2c_driver); | ||
1674 | } | ||
1675 | |||
1676 | module_init(s5k6aa_init); | ||
1677 | module_exit(s5k6aa_exit); | ||
1678 | 1667 | ||
1679 | MODULE_DESCRIPTION("Samsung S5K6AA(FX) SXGA camera driver"); | 1668 | MODULE_DESCRIPTION("Samsung S5K6AA(FX) SXGA camera driver"); |
1680 | MODULE_AUTHOR("Sylwester Nawrocki <s.nawrocki@samsung.com>"); | 1669 | MODULE_AUTHOR("Sylwester Nawrocki <s.nawrocki@samsung.com>"); |