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:
e03cd64
)
[media] ite-cir.c: get rid of warning: no previous prototype
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 16:48:14 +0000
(13:48 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 20:09:42 +0000
(18:09 -0200)
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>
drivers/media/rc/ite-cir.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/ite-cir.c
b/drivers/media/rc/ite-cir.c
index
d635115
..
5e5a7f2
100644
(file)
--- a/
drivers/media/rc/ite-cir.c
+++ b/
drivers/media/rc/ite-cir.c
@@
-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);
}