summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9875.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-06-30 14:46:22 +0000
committerGerd Knorr <devnull@localhost>2004-06-30 14:46:22 +0000
commit5c8362d33f8ce00f5b9df552675bcd14e7676b13 (patch)
treef5ae7e1ea2541af2125225559129bbe4fe3d56a9 /linux/drivers/media/video/tda9875.c
parentd8426ab9d1b7d1985b366f4ad7f420a3869c2b0f (diff)
downloadmediapointer-dvb-s2-5c8362d33f8ce00f5b9df552675bcd14e7676b13.tar.gz
mediapointer-dvb-s2-5c8362d33f8ce00f5b9df552675bcd14e7676b13.tar.bz2
- batch of triviasl i2c fixes by Arthur Othieno.
Diffstat (limited to 'linux/drivers/media/video/tda9875.c')
-rw-r--r--linux/drivers/media/video/tda9875.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tda9875.c b/linux/drivers/media/video/tda9875.c
index 52132662a..cbb305b19 100644
--- a/linux/drivers/media/video/tda9875.c
+++ b/linux/drivers/media/video/tda9875.c
@@ -422,13 +422,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);
}