diff options
Diffstat (limited to 'drivers/media/video/cs5345.c')
-rw-r--r-- | drivers/media/video/cs5345.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/cs5345.c b/drivers/media/video/cs5345.c index 1d64af9adf71..c8581e26fa9c 100644 --- a/drivers/media/video/cs5345.c +++ b/drivers/media/video/cs5345.c | |||
@@ -249,15 +249,4 @@ static struct i2c_driver cs5345_driver = { | |||
249 | .id_table = cs5345_id, | 249 | .id_table = cs5345_id, |
250 | }; | 250 | }; |
251 | 251 | ||
252 | static __init int init_cs5345(void) | 252 | module_i2c_driver(cs5345_driver); |
253 | { | ||
254 | return i2c_add_driver(&cs5345_driver); | ||
255 | } | ||
256 | |||
257 | static __exit void exit_cs5345(void) | ||
258 | { | ||
259 | i2c_del_driver(&cs5345_driver); | ||
260 | } | ||
261 | |||
262 | module_init(init_cs5345); | ||
263 | module_exit(exit_cs5345); | ||