* [PATCH] input: ams_delta_serio: include linux/module.h
@ 2011-11-09 18:06 Aaro Koskinen
2011-11-09 18:14 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Aaro Koskinen @ 2011-11-09 18:06 UTC (permalink / raw)
To: dmitry.torokhov, linux-input, linux-kernel, linux-omap
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@iki.fi>
---
drivers/input/serio/ams_delta_serio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c
index 4b2a42f..d4d08bd 100644
--- a/drivers/input/serio/ams_delta_serio.c
+++ b/drivers/input/serio/ams_delta_serio.c
@@ -24,6 +24,7 @@
#include <linux/irq.h>
#include <linux/serio.h>
#include <linux/slab.h>
+#include <linux/module.h>
#include <asm/mach-types.h>
#include <plat/board-ams-delta.h>
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] input: ams_delta_serio: include linux/module.h
2011-11-09 18:06 [PATCH] input: ams_delta_serio: include linux/module.h Aaro Koskinen
@ 2011-11-09 18:14 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2011-11-09 18:14 UTC (permalink / raw)
To: Aaro Koskinen; +Cc: linux-input, linux-kernel, linux-omap
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@iki.fi>
Thank you Aaro.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-09 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 18:06 [PATCH] input: ams_delta_serio: include linux/module.h Aaro Koskinen
2011-11-09 18:14 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).