summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-11-01 18:30:49 +1100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-07 10:29:10 -0800
commit6f66263f8ebe1fb1f138de41ca9aa0a4860b30d0 (patch)
treebf8057b31cafcd43e6c4a60551bf24ece185ff07
parent1944ce60fe1e92506d3347f4d8e10a82b17096e4 (diff)
device-mapper: dm-bufio.c needs to include module.h
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>
-rw-r--r--drivers/md/dm-bufio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c
index cb246667dd52..0a6806f80ab5 100644
--- a/drivers/md/dm-bufio.c
+++ b/drivers/md/dm-bufio.c
@@ -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"