device-mapper: dm-bufio.c needs to include module.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 07:30:49 +0000 (18:30 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 18:29:10 +0000 (10:29 -0800)
since it uses the module facilities.

Reported-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-bufio.c

index cb24666..0a6806f 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/vmalloc.h>
 #include <linux/version.h>
 #include <linux/shrinker.h>
+#include <linux/module.h>
 
 #define DM_MSG_PREFIX "bufio"