summaryrefslogtreecommitdiff
path: root/drivers/media/rc/fintek-cir.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2014-04-04 03:34:53 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 03:07:39 +0400
commitd6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a (patch)
tree248aaa13a55c66f0439b38fdeb6304d59bd0689c /drivers/media/rc/fintek-cir.c
parent4924a311a62f7326dc1220f3abd72b7785d72e6f (diff)
downloadlinux-d6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a.tar.xz
[media] rc-core: fix various sparse warnings
Fix various sparse warnings under drivers/media/rc/*.c, mostly by making functions static. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/rc/fintek-cir.c')
-rw-r--r--drivers/media/rc/fintek-cir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/fintek-cir.c b/drivers/media/rc/fintek-cir.c
index f000faf7340b..f0a1f7d31ee6 100644
--- a/drivers/media/rc/fintek-cir.c
+++ b/drivers/media/rc/fintek-cir.c
@@ -686,12 +686,12 @@ static struct pnp_driver fintek_driver = {
.shutdown = fintek_shutdown,
};
-static int fintek_init(void)
+static int __init fintek_init(void)
{
return pnp_register_driver(&fintek_driver);
}
-static void fintek_exit(void)
+static void __exit fintek_exit(void)
{
pnp_unregister_driver(&fintek_driver);
}