Commit 2dbd61b4 authored by Randy Dunlap's avatar Randy Dunlap Committed by Mauro Carvalho Chehab

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc:	Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b7eccc46
...@@ -233,7 +233,7 @@ EXPORT_SYMBOL_GPL(ir_raw_event_handle); ...@@ -233,7 +233,7 @@ EXPORT_SYMBOL_GPL(ir_raw_event_handle);
/* used internally by the sysfs interface */ /* used internally by the sysfs interface */
u64 u64
ir_raw_get_allowed_protocols() ir_raw_get_allowed_protocols(void)
{ {
u64 protocols; u64 protocols;
mutex_lock(&ir_raw_handler_lock); mutex_lock(&ir_raw_handler_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment