Re: [PATCH] input: ams_delta_serio: include linux/module.h

From: Dmitry Torokhov
Date: Wed Nov 09 2011 - 13:14:24 EST


On Wed, Nov 09, 2011 at 08:06:45PM +0200, Aaro Koskinen wrote:
> Fix the following compilation failure with v3.2-rc1 by including module.h:
>
> CC drivers/input/serio/ams_delta_serio.o
> drivers/input/serio/ams_delta_serio.c:33:15: error: expected declaration specifiers or '...' before string constant
> drivers/input/serio/ams_delta_serio.c:34:20: error: expected declaration specifiers or '...' before string constant
> drivers/input/serio/ams_delta_serio.c:35:16: error: expected declaration specifiers or '...' before string constant
> drivers/input/serio/ams_delta_serio.c: In function 'ams_delta_serio_init':
> drivers/input/serio/ams_delta_serio.c:155:2: error: 'THIS_MODULE' undeclared (first use in this function)
> drivers/input/serio/ams_delta_serio.c:155:2: note: each undeclared identifier is reported only once for each function it appears in
>
> Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>

Thank you Aaro.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/