[PATCH] Input: ep93xx_keypad - add missing include of linux/module.h

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE5475d

2 messages, 2 authors, 2011-08-22 · open the first message on its own page

[PATCH] Input: ep93xx_keypad - add missing include of linux/module.h

From: Axel Lin <hidden>
Date: 2011-08-21 08:51:06

ep93xx_keypad.c uses interfaces from linux/module.h,
so it should include that file.  This patch fixes build errors.

Signed-off-by: Axel Lin <redacted>
---
 drivers/input/keyboard/ep93xx_keypad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c
index c8242dd..aa17e02 100644
--- a/drivers/input/keyboard/ep93xx_keypad.c
+++ b/drivers/input/keyboard/ep93xx_keypad.c
@@ -20,6 +20,7 @@
  * flag.
  */
 
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/clk.h>
-- 
1.7.4.1


RE: [PATCH] Input: ep93xx_keypad - add missing include of linux/module.h

From: H Hartley Sweeten <hidden>
Date: 2011-08-22 16:29:35

On Sunday, August 21, 2011 1:51 AM, Axel Lin wrote:
quoted hunk
ep93xx_keypad.c uses interfaces from linux/module.h,
so it should include that file.  This patch fixes build errors.

Signed-off-by: Axel Lin <redacted>
---
 drivers/input/keyboard/ep93xx_keypad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c
index c8242dd..aa17e02 100644
--- a/drivers/input/keyboard/ep93xx_keypad.c
+++ b/drivers/input/keyboard/ep93xx_keypad.c
@@ -20,6 +20,7 @@
  * flag.
  */
 
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/clk.h>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help