[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>
This commit is contained in:
Mauro Carvalho Chehab 2012-10-27 13:49:04 -03:00
parent 3d4bf09c1d
commit 8e1803f4cd
1 changed files with 2 additions and 2 deletions

View File

@ -1220,12 +1220,12 @@ static struct pnp_driver nvt_driver = {
.shutdown = nvt_shutdown,
};
int nvt_init(void)
static int nvt_init(void)
{
return pnp_register_driver(&nvt_driver);
}
void nvt_exit(void)
static void nvt_exit(void)
{
pnp_unregister_driver(&nvt_driver);
}