diff mbox

ir-raw: fix sparse non-ANSI function warning

Message ID 20110108195353.3925990e.randy.dunlap@oracle.com (mailing list archive)
State Accepted
Headers show

Commit Message

Randy Dunlap Jan. 9, 2011, 3:53 a.m. UTC
None
diff mbox

Patch

--- lnx0107.orig/drivers/media/rc/ir-raw.c
+++ lnx0107/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);