diff options
Diffstat (limited to 'drivers/media/video/tvp514x.c')
-rw-r--r-- | drivers/media/video/tvp514x.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/tvp514x.c b/drivers/media/video/tvp514x.c index dd26cacd0556..cd615c1d6011 100644 --- a/drivers/media/video/tvp514x.c +++ b/drivers/media/video/tvp514x.c | |||
@@ -1163,15 +1163,4 @@ static struct i2c_driver tvp514x_driver = { | |||
1163 | .id_table = tvp514x_id, | 1163 | .id_table = tvp514x_id, |
1164 | }; | 1164 | }; |
1165 | 1165 | ||
1166 | static int __init tvp514x_init(void) | 1166 | module_i2c_driver(tvp514x_driver); |
1167 | { | ||
1168 | return i2c_add_driver(&tvp514x_driver); | ||
1169 | } | ||
1170 | |||
1171 | static void __exit tvp514x_exit(void) | ||
1172 | { | ||
1173 | i2c_del_driver(&tvp514x_driver); | ||
1174 | } | ||
1175 | |||
1176 | module_init(tvp514x_init); | ||
1177 | module_exit(tvp514x_exit); | ||