aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 12:49:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 16:09:53 -0400
commit8e1803f4cd4bab0a66a24945a00e2c3a89457a32 (patch)
treecbe679e5d01285d602f6ea566e5148fd454bb7bc /drivers/media/rc
parent3d4bf09c1d9cb315af18a7eb825f0ddce0dbe5b4 (diff)
[media] nuvoton-cir: get rid of warning: no previous prototype
drivers/media/rc/nuvoton-cir.c:1223:5: warning: no previous prototype for 'nvt_init' [-Wmissing-prototypes] drivers/media/rc/nuvoton-cir.c:1228:6: warning: no previous prototype for 'nvt_exit' [-Wmissing-prototypes] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/nuvoton-cir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index 0190dfc2ad41..44ba834c363d 100644
--- a/drivers/media/rc/nuvoton-cir.c
+++ b/drivers/media/rc/nuvoton-cir.c
@@ -1220,12 +1220,12 @@ static struct pnp_driver nvt_driver = {
1220 .shutdown = nvt_shutdown, 1220 .shutdown = nvt_shutdown,
1221}; 1221};
1222 1222
1223int nvt_init(void) 1223static int nvt_init(void)
1224{ 1224{
1225 return pnp_register_driver(&nvt_driver); 1225 return pnp_register_driver(&nvt_driver);
1226} 1226}
1227 1227
1228void nvt_exit(void) 1228static void nvt_exit(void)
1229{ 1229{
1230 pnp_unregister_driver(&nvt_driver); 1230 pnp_unregister_driver(&nvt_driver);
1231} 1231}