Commit 8e1803f4 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3d4bf09c
...@@ -1220,12 +1220,12 @@ static struct pnp_driver nvt_driver = { ...@@ -1220,12 +1220,12 @@ static struct pnp_driver nvt_driver = {
.shutdown = nvt_shutdown, .shutdown = nvt_shutdown,
}; };
int nvt_init(void) static int nvt_init(void)
{ {
return pnp_register_driver(&nvt_driver); return pnp_register_driver(&nvt_driver);
} }
void nvt_exit(void) static void nvt_exit(void)
{ {
pnp_unregister_driver(&nvt_driver); pnp_unregister_driver(&nvt_driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment