lkml.org 
[lkml]   [2011]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] input: mouse/hgpk.c needs module.h
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>

\
 
 \ /
  Last update: 2011-07-30 06:19    [W:0.384 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site