[PATCH -next] input: mouse/hgpk.c needs module.h

STALE5485d

2 messages, 2 authors, 2011-07-30 · open the first message on its own page

[PATCH -next] input: mouse/hgpk.c needs module.h

From: Randy Dunlap <hidden>
Date: 2011-07-30 04:16:07

From: Randy Dunlap <redacted>

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

Signed-off-by: Randy Dunlap <redacted>
---
 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>

Re: [PATCH -next] input: mouse/hgpk.c needs module.h

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-07-30 19:02:52

On Fri, Jul 29, 2011 at 09:14:41PM -0700, Randy Dunlap wrote:
From: Randy Dunlap <redacted>

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

Signed-off-by: Randy Dunlap <redacted>
Applied, thanks Randy.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help