]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
md: Add module.h to all files using it implicitly
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 3 Jul 2011 17:58:33 +0000 (13:58 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:40 +0000 (04:05 -0400)
A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in md dir
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
15 files changed:
drivers/md/dm-exception-store.c
drivers/md/dm-log-userspace-base.c
drivers/md/dm-path-selector.c
drivers/md/dm-raid.c
drivers/md/dm-round-robin.c
drivers/md/dm-service-time.c
drivers/md/faulty.c
drivers/md/linear.c
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
lib/raid6/algos.c

index 0bdb201c2c2af04ceea2905db5f56c10fe1091df..042e71996569b963a6d9ec1addd4ae5aab97a23c 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/mm.h>
 #include <linux/pagemap.h>
 #include <linux/vmalloc.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 #define DM_MSG_PREFIX "snapshot exception stores"
index aa2e0c374ab3e0c985e6bdc6536807bc07bcf3ce..b5ec0eb62ad67e9b0f0371e0130d65a1167a56ea 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/dm-dirty-log.h>
 #include <linux/device-mapper.h>
 #include <linux/dm-log-userspace.h>
+#include <linux/module.h>
 
 #include "dm-log-userspace-transfer.h"
 
index 42c04f04a0c4c84e28bb1cd05e56a19370d5e565..fa0ccc585cb4cb5ff4551d9bafd8dfd23b6f063c 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <linux/device-mapper.h>
+#include <linux/module.h>
 
 #include "dm-path-selector.h"
 
index e5d8904fc8f647162d4a7d79150491797cfda6d2..a07560ec4313c16de5ca76c10ea1a271cf70eb7d 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "md.h"
 #include "raid5.h"
index 24752f449bef8834b8ebb0329293491bdf4f07ed..27f1d423b76c0582f77001a1265526fc29db2a47 100644 (file)
@@ -14,6 +14,7 @@
 #include "dm-path-selector.h"
 
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #define DM_MSG_PREFIX "multipath round-robin"
 
index 9c6c2e47ad625a6a12328d33d3491c7b413ca8f4..59883bd78214b0428a819ee19d397f460bfc6d8b 100644 (file)
@@ -12,6 +12,7 @@
 #include "dm-path-selector.h"
 
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #define DM_MSG_PREFIX  "multipath service-time"
 #define ST_MIN_IO      1
index 23078dabb6df0a741f1223fcae7f728a9b19958a..64b5892de884c3b60ee587bb39b37876d556cb3f 100644 (file)
@@ -63,6 +63,7 @@
 
 #define MaxFault       50
 #include <linux/blkdev.h>
+#include <linux/module.h>
 #include <linux/raid/md_u.h>
 #include <linux/slab.h>
 #include "md.h"
index 6cd2c313e800521d033493fb65d98544566d1211..f1e2fff117b6b9c842e7eed9cf7a8348881bf7a9 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/blkdev.h>
 #include <linux/raid/md_u.h>
 #include <linux/seq_file.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include "md.h"
 #include "linear.h"
index 8e221a20f5d98b362e8f49660454add87a5e3b38..269f95c533a2664a74d3108af0edcb9313ffe624 100644 (file)
@@ -44,6 +44,7 @@
 #include <linux/hdreg.h>
 #include <linux/proc_fs.h>
 #include <linux/random.h>
+#include <linux/module.h>
 #include <linux/reboot.h>
 #include <linux/file.h>
 #include <linux/compat.h>
index 3535c23af288e8eaac45042eb2e1909af8f0759a..57bbb9e91308906fb461640d4171f8ab475e182e 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <linux/blkdev.h>
+#include <linux/module.h>
 #include <linux/raid/md_u.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
index e86bf3682e1e29c65b61f0ca7d3b00f94533046a..9bb6ab16944e125b7d68f2ea66d1cc925a4ebaec 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/blkdev.h>
 #include <linux/seq_file.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include "md.h"
 #include "raid0.h"
index 32323f0afd8954714401cb8ed8c5b455b32a9743..56db3230c674343b7951a6f14a892dd1465c4a65 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/blkdev.h>
+#include <linux/module.h>
 #include <linux/seq_file.h>
 #include <linux/ratelimit.h>
 #include "md.h"
index 8b29cd4f01c89f8213d7dcc43cd1aaf6dd5799c7..d2fd2122410e029cd04732694b0de0310ef1a4c3 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/blkdev.h>
+#include <linux/module.h>
 #include <linux/seq_file.h>
 #include <linux/ratelimit.h>
 #include "md.h"
index dbae459fb02d7171291e1d8dcc3d7fa538ab02f4..6981b02141d77c4481c2a3cd77ea8f437e7588cf 100644 (file)
@@ -47,6 +47,7 @@
 #include <linux/kthread.h>
 #include <linux/raid/pq.h>
 #include <linux/async_tx.h>
+#include <linux/module.h>
 #include <linux/async.h>
 #include <linux/seq_file.h>
 #include <linux/cpu.h>
index b595f560bee74ba855da88bbc1793bf7eb193312..8b02f60ffc865750f3b4e5fbbe85b329f86b0a5e 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #include <linux/raid/pq.h>
+#include <linux/module.h>
 #ifndef __KERNEL__
 #include <sys/mman.h>
 #include <stdio.h>