From: Mauro Carvalho Chehab Date: Sat, 27 Oct 2012 20:34:23 +0000 (-0200) Subject: fintek-cir: get rid of warning: no previous prototype X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a3faff2b39ca67684fb294a84d3e2d1ad2f4dfa2;p=linux-beck.git fintek-cir: get rid of warning: no previous prototype Cc: Linux Media Mailing List drivers/media/rc/fintek-cir.c:687:5: warning: no previous prototype for 'fintek_init' [-Wmissing-prototypes] drivers/media/rc/fintek-cir.c:692:6: warning: no previous prototype for 'fintek_exit' [-Wmissing-prototypes] Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/fintek-cir.c b/drivers/media/rc/fintek-cir.c index d2d93cbe628c..936c3f79b62c 100644 --- a/drivers/media/rc/fintek-cir.c +++ b/drivers/media/rc/fintek-cir.c @@ -684,12 +684,12 @@ static struct pnp_driver fintek_driver = { .shutdown = fintek_shutdown, }; -int fintek_init(void) +static int fintek_init(void) { return pnp_register_driver(&fintek_driver); } -void fintek_exit(void) +static void fintek_exit(void) { pnp_unregister_driver(&fintek_driver); }