[PATCH]: staging/nvec: fix compilation error in nvec.c

Marc Dietrich marvin24 at gmx.de
Mon Oct 10 02:35:45 PDT 2011


Hi Greg,

this fixes a compilation error in v3.2 which showed up only recently (due to the 
removal of module.h from device.h). 

Marc

---
staging: nvec: fix compilation error in nvec.c
    
This fixes a compilation error in nvec.c due to the missing module.h include.
    
Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
Cc: Julian Andres Klode <jak at jak-linux.org>

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index fb0f095..e06b867 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -17,6 +17,7 @@
 /* #define DEBUG */
 
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/atomic.h>
 #include <linux/clk.h>
 #include <linux/completion.h>



More information about the devel mailing list