linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: ep93xx_keypad - add missing include of linux/module.h
@ 2011-08-21  8:50 Axel Lin
  2011-08-22 16:29 ` H Hartley Sweeten
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-08-21  8:50 UTC (permalink / raw)
  To: linux-kernel; +Cc: H Hartley Sweeten, Dmitry Torokhov, linux-input

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 <axel.lin@gmail.com>
---
 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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] Input: ep93xx_keypad - add missing include of linux/module.h
  2011-08-21  8:50 [PATCH] Input: ep93xx_keypad - add missing include of linux/module.h Axel Lin
@ 2011-08-22 16:29 ` H Hartley Sweeten
  0 siblings, 0 replies; 2+ messages in thread
From: H Hartley Sweeten @ 2011-08-22 16:29 UTC (permalink / raw)
  To: Axel Lin, linux-kernel@vger.kernel.org
  Cc: Dmitry Torokhov, linux-input@vger.kernel.org

On Sunday, August 21, 2011 1:51 AM, Axel Lin wrote:
>
> 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 <axel.lin@gmail.com>
> ---
>  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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-22 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-21  8:50 [PATCH] Input: ep93xx_keypad - add missing include of linux/module.h Axel Lin
2011-08-22 16:29 ` H Hartley Sweeten

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).