Skip to content

Commit

Permalink
[media] ite-cir.c: get rid of warning: no previous prototype
Browse files Browse the repository at this point in the history
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: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 27, 2012
1 parent e03cd64 commit 3d4bf09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/rc/ite-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1708,12 +1708,12 @@ static struct pnp_driver ite_driver = {
.shutdown = ite_shutdown,
};

int ite_init(void)
static int ite_init(void)
{
return pnp_register_driver(&ite_driver);
}

void ite_exit(void)
static void ite_exit(void)
{
pnp_unregister_driver(&ite_driver);
}
Expand Down

0 comments on commit 3d4bf09

Please sign in to comment.