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:
a5133b1
)
[media] ene_cir: get rid of warning: no previous prototype
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 16:46:53 +0000
(13:46 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 27 Oct 2012 20:08:40 +0000
(18:08 -0200)
drivers/media/rc/ene_ir.c:332:6: warning: no previous prototype for 'ene_rx_sense_carrier' [-Wmissing-prototypes]
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ene_ir.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/ene_ir.c
b/drivers/media/rc/ene_ir.c
index
7467a6d
..
dd3c510
100644
(file)
--- a/
drivers/media/rc/ene_ir.c
+++ b/
drivers/media/rc/ene_ir.c
@@
-329,7
+329,7
@@
static int ene_rx_get_sample_reg(struct ene_device *dev)
}
/* Sense current received carrier */
-void ene_rx_sense_carrier(struct ene_device *dev)
+
static
void ene_rx_sense_carrier(struct ene_device *dev)
{
DEFINE_IR_RAW_EVENT(ev);