Skip to contentSkip to conversation

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

PATCH In review Axel Lin 2 participants 2 messages Aug 21, 2011 – Aug 22, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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

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

---
 drivers/input/keyboard/ep93xx_keypad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/input/keyboard/ep93xx_keypad.c +1 -0
index c8242dd..aa17e02 100644
@@ -20,6 +20,7 @@
  * flag.
  */
 
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/clk.h>
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Axel Lin

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

---
 drivers/input/keyboard/ep93xx_keypad.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/input/keyboard/ep93xx_keypad.c +0 -0
index c8242dd..aa17e02 100644

drivers/input/keyboard/ep93xx_keypad.c line 26

Quoted 7 lines
drivers/input/keyboard/ep93xx_keypad.c +1 -0
@@ -20,6 +20,7 @@
  * flag.
  */
 
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/clk.h>