OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d4bf09
)
[media] nuvoton-cir: get rid of warning: no previous prototype
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 16:49:04 +0000
(13:49 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 20:09:53 +0000
(18:09 -0200)
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>
drivers/media/rc/nuvoton-cir.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/nuvoton-cir.c
b/drivers/media/rc/nuvoton-cir.c
index
0190dfc
..
44ba834
100644
(file)
--- a/
drivers/media/rc/nuvoton-cir.c
+++ b/
drivers/media/rc/nuvoton-cir.c
@@
-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);
}