summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-raw.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-01-09 00:53:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-19 11:45:56 -0200
commit2dbd61b4651f0bdc6cd5f75a983844b5f3831e17 (patch)
tree457ffa4b31cc1f2d51183bc069dac72ae021999a /drivers/media/rc/ir-raw.c
parentb7eccc46a1dae153d0102c161b4ce4bddb3f52ba (diff)
downloadop-kernel-dev-2dbd61b4651f0bdc6cd5f75a983844b5f3831e17.zip
op-kernel-dev-2dbd61b4651f0bdc6cd5f75a983844b5f3831e17.tar.gz
[media] ir-raw: fix sparse non-ANSI function warning
Fix sparse warning for non-ANSI function declaration: drivers/media/rc/ir-raw.c:247:30: warning: non-ANSI function declaration of function 'ir_raw_get_allowed_protocols' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/ir-raw.c')
-rw-r--r--drivers/media/rc/ir-raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ir-raw.c b/drivers/media/rc/ir-raw.c
index 185badd..73230ff 100644
--- a/drivers/media/rc/ir-raw.c
+++ b/drivers/media/rc/ir-raw.c
@@ -233,7 +233,7 @@ EXPORT_SYMBOL_GPL(ir_raw_event_handle);
/* used internally by the sysfs interface */
u64
-ir_raw_get_allowed_protocols()
+ir_raw_get_allowed_protocols(void)
{
u64 protocols;
mutex_lock(&ir_raw_handler_lock);
OpenPOWER on IntegriCloud