X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmedia%2Fvideo%2Ftda9875.c;h=41327c3f7b264551bbde95c31d9d1eab2230df77;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=ae5fd316fba0a6c553c50de8c47c320eafa27185;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/drivers/media/video/tda9875.c b/drivers/media/video/tda9875.c index ae5fd316f..41327c3f7 100644 --- a/drivers/media/video/tda9875.c +++ b/drivers/media/video/tda9875.c @@ -403,13 +403,12 @@ static struct i2c_client client_template = .driver = &driver, }; -static int tda9875_init(void) +static int __init tda9875_init(void) { - i2c_add_driver(&driver); - return 0; + return i2c_add_driver(&driver); } -static void tda9875_fini(void) +static void __exit tda9875_fini(void) { i2c_del_driver(&driver); }