diff options
author | David Härdeman <david@hardeman.nu> | 2014-04-04 01:34:53 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-26 01:07:39 +0200 |
commit | d6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a (patch) | |
tree | 248aaa13a55c66f0439b38fdeb6304d59bd0689c /drivers/media/rc/ite-cir.c | |
parent | [media] rc-core: rename ir-raw.c (diff) | |
download | linux-d6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a.tar.xz linux-d6740d86deda4acc8dc2cf196ccb9d8eb30bcb9a.zip |
[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 32fd5f4614c8..447fe35862dc 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); } |