2.6.28-mmotm1230 drivers/input/input.c warning msg
patch input-allow-certain-ev_abs-events-to-bypass-all-filtering.patch caused a new warning to be added to the compile:
CC drivers/input/input.odrivers/input/input.c:1661: warning: function declaration isn’t a prototype
Fix up the declaration so the compiler knows what the prototype is.
Signed-off-by Valdis Kletnieks <[email protected]>
drivers/input/input.c renamed from drivers/input/input.c.dist +1 -1
@@ -1657,7 +1657,7 @@ static const struct file_operations inpu .open = input_open_file, }; -static void __init input_init_abs_bypass () +static void __init input_init_abs_bypass (void ) {const unsigned int *p;for (p = input_abs_bypass_init_data; *p; p++)
Randy Dunlap
Acked-byQuoted 9 lines · [email protected] wrote:
patch input-allow-certain-ev_abs-events-to-bypass-all-filtering.patch caused a new warning to be added to the compile:
CC
drivers/input/input.odrivers/input/input.c:1661: warning: function declaration isn’t a prototypeFix up the declaration so the compiler knows what the prototype is.
Signed-off-by Valdis Kletnieks <[email protected]>
This is the third patch like this that's been posted, so I'll ack this one. ;)
Acked-by Randy Dunlap <[email protected]>
Quoted 12 lines
drivers/input/input.c renamed from drivers/input/input.c.dist +1
-1@@ -1657,7 +1657,7 @@ static const struct file_operations inpu .open = input_open_file, }; -static void __init input_init_abs_bypass () +static void __init input_init_abs_bypass (void ) {const unsigned int *p;for (p = input_abs_bypass_init_data; *p; p++)
Signature · 1 line
~Randy