2.6.28-mmotm1230 drivers/input/input.c warning msg

From: Valdis . Kletnieks
Date: Fri Jan 02 2009 - 05:16:19 EST


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.o
drivers/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 <valdis.kletnieks@xxxxxx>

--- linux-2.6.28-mmotm1230/drivers/input/input.c.dist 2009-01-01 17:23:02.000000000 -0500
+++ linux-2.6.28-mmotm1230/drivers/input/input.c 2009-01-02 05:09:12.000000000 -0500
@@ -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++)

Attachment: pgp00000.pgp
Description: PGP signature