Skip to content

Commit

Permalink
[media] nuvoton-cir: get rid of warning: no previous prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 27, 2012
1 parent 3d4bf09 commit 8e1803f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/rc/nuvoton-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8e1803f

Please sign in to comment.