linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] input: mouse/hgpk.c needs module.h
       [not found] <20110729173827.716f57ff6e00095a3efc6449@canb.auug.org.au>
@ 2011-07-30  4:14 ` Randy Dunlap
  2011-07-30 19:02   ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-07-30  4:14 UTC (permalink / raw)
  To: Stephen Rothwell, Dmitry Torokhov; +Cc: linux-next, LKML, linux-input, akpm

From: Randy Dunlap <rdunlap@xenotime.net>

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

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/input/mouse/hgpk.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20110729.orig/drivers/input/mouse/hgpk.c
+++ linux-next-20110729/drivers/input/mouse/hgpk.c
@@ -32,6 +32,7 @@
 #define DEBUG
 #include <linux/slab.h>
 #include <linux/input.h>
+#include <linux/module.h>
 #include <linux/serio.h>
 #include <linux/libps2.h>
 #include <linux/delay.h>

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

* Re: [PATCH -next] input: mouse/hgpk.c needs module.h
  2011-07-30  4:14 ` [PATCH -next] input: mouse/hgpk.c needs module.h Randy Dunlap
@ 2011-07-30 19:02   ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2011-07-30 19:02 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, linux-input, akpm

On Fri, Jul 29, 2011 at 09:14:41PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> hgpk.c uses interfaces from linux/module.h, so it should
> include that file.  This fixes build errors.
> 
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>

Applied, thanks Randy.

-- 
Dmitry

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

end of thread, other threads:[~2011-07-30 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20110729173827.716f57ff6e00095a3efc6449@canb.auug.org.au>
2011-07-30  4:14 ` [PATCH -next] input: mouse/hgpk.c needs module.h Randy Dunlap
2011-07-30 19:02   ` 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).