summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt832.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/bt832.c')
-rw-r--r--linux/drivers/media/video/bt832.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/video/bt832.c b/linux/drivers/media/video/bt832.c
index 1b7a4f961..59e5d2b10 100644
--- a/linux/drivers/media/video/bt832.c
+++ b/linux/drivers/media/video/bt832.c
@@ -278,13 +278,12 @@ static struct i2c_client client_template =
};
-int bt832_init_module(void)
+static int __init bt832_init_module(void)
{
- i2c_add_driver(&driver);
- return 0;
+ return i2c_add_driver(&driver);
}
-static void bt832_cleanup_module(void)
+static void __exit bt832_cleanup_module(void)
{
i2c_del_driver(&driver);
}