diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 13:48:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 18:09:42 -0200 |
commit | 3d4bf09c1d9cb315af18a7eb825f0ddce0dbe5b4 (patch) | |
tree | 5648f14761c29ddad8cb769796855d5096a55394 /drivers/media/rc | |
parent | e03cd645dfecb27746c6d488c73605fef6ae635f (diff) | |
download | op-kernel-dev-3d4bf09c1d9cb315af18a7eb825f0ddce0dbe5b4.zip op-kernel-dev-3d4bf09c1d9cb315af18a7eb825f0ddce0dbe5b4.tar.gz |
[media] ite-cir.c: get rid of warning: no previous prototype
drivers/media/rc/ite-cir.c:1711:5: warning: no previous prototype for 'ite_init' [-Wmissing-prototypes]
drivers/media/rc/ite-cir.c:1716:6: warning: no previous prototype for 'ite_exit' [-Wmissing-prototypes]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc')
-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 d635115..5e5a7f2 100644 --- a/drivers/media/rc/ite-cir.c +++ b/drivers/media/rc/ite-cir.c @@ -1708,12 +1708,12 @@ static struct pnp_driver ite_driver = { .shutdown = ite_shutdown, }; -int ite_init(void) +static int ite_init(void) { return pnp_register_driver(&ite_driver); } -void ite_exit(void) +static void ite_exit(void) { pnp_unregister_driver(&ite_driver); } |