Commit 3d4bf09c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e03cd645
...@@ -1708,12 +1708,12 @@ static struct pnp_driver ite_driver = { ...@@ -1708,12 +1708,12 @@ static struct pnp_driver ite_driver = {
.shutdown = ite_shutdown, .shutdown = ite_shutdown,
}; };
int ite_init(void) static int ite_init(void)
{ {
return pnp_register_driver(&ite_driver); return pnp_register_driver(&ite_driver);
} }
void ite_exit(void) static void ite_exit(void)
{ {
pnp_unregister_driver(&ite_driver); pnp_unregister_driver(&ite_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