diff options
author | David Härdeman <david@hardeman.nu> | 2014-04-03 20:34:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-25 20:07:39 -0300 |
commit | d6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a (patch) | |
tree | 248aaa13a55c66f0439b38fdeb6304d59bd0689c /drivers/media/rc/ite-cir.c | |
parent | 4924a311a62f7326dc1220f3abd72b7785d72e6f (diff) | |
download | op-kernel-dev-d6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a.zip op-kernel-dev-d6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a.tar.gz |
[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/ite-cir.c')
-rw-r--r-- | drivers/media/rc/ite-cir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ite-cir.c b/drivers/media/rc/ite-cir.c index 32fd5f4..447fe35 100644 --- a/drivers/media/rc/ite-cir.c +++ b/drivers/media/rc/ite-cir.c @@ -1709,12 +1709,12 @@ static struct pnp_driver ite_driver = { .shutdown = ite_shutdown, }; -static int ite_init(void) +static int __init ite_init(void) { return pnp_register_driver(&ite_driver); } -static void ite_exit(void) +static void __exit ite_exit(void) { pnp_unregister_driver(&ite_driver); } |