diff options
Diffstat (limited to 'drivers/media/video/ak881x.c')
-rw-r--r-- | drivers/media/video/ak881x.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/ak881x.c b/drivers/media/video/ak881x.c index 53c496c00fb6..ba674656b10d 100644 --- a/drivers/media/video/ak881x.c +++ b/drivers/media/video/ak881x.c | |||
@@ -352,18 +352,7 @@ static struct i2c_driver ak881x_i2c_driver = { | |||
352 | .id_table = ak881x_id, | 352 | .id_table = ak881x_id, |
353 | }; | 353 | }; |
354 | 354 | ||
355 | static int __init ak881x_module_init(void) | 355 | module_i2c_driver(ak881x_i2c_driver); |
356 | { | ||
357 | return i2c_add_driver(&ak881x_i2c_driver); | ||
358 | } | ||
359 | |||
360 | static void __exit ak881x_module_exit(void) | ||
361 | { | ||
362 | i2c_del_driver(&ak881x_i2c_driver); | ||
363 | } | ||
364 | |||
365 | module_init(ak881x_module_init); | ||
366 | module_exit(ak881x_module_exit); | ||
367 | 356 | ||
368 | MODULE_DESCRIPTION("TV-output driver for ak8813/ak8814"); | 357 | MODULE_DESCRIPTION("TV-output driver for ak8813/ak8814"); |
369 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); | 358 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); |