diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-03 13:58:33 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:18 -0400 |
commit | 056075c76417b112b4924e7b6386fdc6dfc9ac03 (patch) | |
tree | 7326cbdb0f54f975b140e548bd4f4d6f4b3486cc | |
parent | ec37d321b96621906337c4279c490e1b5893ecae (diff) |
md: Add module.h to all files using it implicitly
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>
-rw-r--r-- | drivers/md/dm-exception-store.c | 1 | ||||
-rw-r--r-- | drivers/md/dm-log-userspace-base.c | 1 | ||||
-rw-r--r-- | drivers/md/dm-path-selector.c | 1 | ||||
-rw-r--r-- | drivers/md/dm-raid.c | 1 | ||||
-rw-r--r-- | drivers/md/dm-round-robin.c | 1 | ||||
-rw-r--r-- | drivers/md/dm-service-time.c | 1 | ||||
-rw-r--r-- | drivers/md/faulty.c | 1 | ||||
-rw-r--r-- | drivers/md/linear.c | 1 | ||||
-rw-r--r-- | drivers/md/md.c | 1 | ||||
-rw-r--r-- | drivers/md/multipath.c | 1 | ||||
-rw-r--r-- | drivers/md/raid0.c | 1 | ||||
-rw-r--r-- | drivers/md/raid1.c | 1 | ||||
-rw-r--r-- | drivers/md/raid10.c | 1 | ||||
-rw-r--r-- | drivers/md/raid5.c | 1 | ||||
-rw-r--r-- | lib/raid6/algos.c | 1 |
15 files changed, 15 insertions, 0 deletions
diff --git a/drivers/md/dm-exception-store.c b/drivers/md/dm-exception-store.c index 0bdb201c2c2a..042e71996569 100644 --- a/drivers/md/dm-exception-store.c +++ b/drivers/md/dm-exception-store.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/mm.h> | 11 | #include <linux/mm.h> |
12 | #include <linux/pagemap.h> | 12 | #include <linux/pagemap.h> |
13 | #include <linux/vmalloc.h> | 13 | #include <linux/vmalloc.h> |
14 | #include <linux/module.h> | ||
14 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
15 | 16 | ||
16 | #define DM_MSG_PREFIX "snapshot exception stores" | 17 | #define DM_MSG_PREFIX "snapshot exception stores" |
diff --git a/drivers/md/dm-log-userspace-base.c b/drivers/md/dm-log-userspace-base.c index 1021c8986011..196246ef39cb 100644 --- a/drivers/md/dm-log-userspace-base.c +++ b/drivers/md/dm-log-userspace-base.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/dm-dirty-log.h> | 9 | #include <linux/dm-dirty-log.h> |
10 | #include <linux/device-mapper.h> | 10 | #include <linux/device-mapper.h> |
11 | #include <linux/dm-log-userspace.h> | 11 | #include <linux/dm-log-userspace.h> |
12 | #include <linux/module.h> | ||
12 | 13 | ||
13 | #include "dm-log-userspace-transfer.h" | 14 | #include "dm-log-userspace-transfer.h" |
14 | 15 | ||
diff --git a/drivers/md/dm-path-selector.c b/drivers/md/dm-path-selector.c index 42c04f04a0c4..fa0ccc585cb4 100644 --- a/drivers/md/dm-path-selector.c +++ b/drivers/md/dm-path-selector.c | |||
@@ -10,6 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/device-mapper.h> | 12 | #include <linux/device-mapper.h> |
13 | #include <linux/module.h> | ||
13 | 14 | ||
14 | #include "dm-path-selector.h" | 15 | #include "dm-path-selector.h" |
15 | 16 | ||
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c index 37a37266a1e3..69c966f517cd 100644 --- a/drivers/md/dm-raid.c +++ b/drivers/md/dm-raid.c | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
9 | #include <linux/module.h> | ||
9 | 10 | ||
10 | #include "md.h" | 11 | #include "md.h" |
11 | #include "raid1.h" | 12 | #include "raid1.h" |
diff --git a/drivers/md/dm-round-robin.c b/drivers/md/dm-round-robin.c index 24752f449bef..27f1d423b76c 100644 --- a/drivers/md/dm-round-robin.c +++ b/drivers/md/dm-round-robin.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include "dm-path-selector.h" | 14 | #include "dm-path-selector.h" |
15 | 15 | ||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/module.h> | ||
17 | 18 | ||
18 | #define DM_MSG_PREFIX "multipath round-robin" | 19 | #define DM_MSG_PREFIX "multipath round-robin" |
19 | 20 | ||
diff --git a/drivers/md/dm-service-time.c b/drivers/md/dm-service-time.c index 9c6c2e47ad62..59883bd78214 100644 --- a/drivers/md/dm-service-time.c +++ b/drivers/md/dm-service-time.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include "dm-path-selector.h" | 12 | #include "dm-path-selector.h" |
13 | 13 | ||
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/module.h> | ||
15 | 16 | ||
16 | #define DM_MSG_PREFIX "multipath service-time" | 17 | #define DM_MSG_PREFIX "multipath service-time" |
17 | #define ST_MIN_IO 1 | 18 | #define ST_MIN_IO 1 |
diff --git a/drivers/md/faulty.c b/drivers/md/faulty.c index 60816b132c2e..5436b3b4a00c 100644 --- a/drivers/md/faulty.c +++ b/drivers/md/faulty.c | |||
@@ -63,6 +63,7 @@ | |||
63 | 63 | ||
64 | #define MaxFault 50 | 64 | #define MaxFault 50 |
65 | #include <linux/blkdev.h> | 65 | #include <linux/blkdev.h> |
66 | #include <linux/module.h> | ||
66 | #include <linux/raid/md_u.h> | 67 | #include <linux/raid/md_u.h> |
67 | #include <linux/slab.h> | 68 | #include <linux/slab.h> |
68 | #include "md.h" | 69 | #include "md.h" |
diff --git a/drivers/md/linear.c b/drivers/md/linear.c index 10c5844460cb..d116b85ee502 100644 --- a/drivers/md/linear.c +++ b/drivers/md/linear.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/blkdev.h> | 19 | #include <linux/blkdev.h> |
20 | #include <linux/raid/md_u.h> | 20 | #include <linux/raid/md_u.h> |
21 | #include <linux/seq_file.h> | 21 | #include <linux/seq_file.h> |
22 | #include <linux/module.h> | ||
22 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
23 | #include "md.h" | 24 | #include "md.h" |
24 | #include "linear.h" | 25 | #include "linear.h" |
diff --git a/drivers/md/md.c b/drivers/md/md.c index 266e82ebaf11..23435fa43888 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/hdreg.h> | 44 | #include <linux/hdreg.h> |
45 | #include <linux/proc_fs.h> | 45 | #include <linux/proc_fs.h> |
46 | #include <linux/random.h> | 46 | #include <linux/random.h> |
47 | #include <linux/module.h> | ||
47 | #include <linux/reboot.h> | 48 | #include <linux/reboot.h> |
48 | #include <linux/file.h> | 49 | #include <linux/file.h> |
49 | #include <linux/compat.h> | 50 | #include <linux/compat.h> |
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index d32c785e17d4..700650d2384a 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
@@ -20,6 +20,7 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/blkdev.h> | 22 | #include <linux/blkdev.h> |
23 | #include <linux/module.h> | ||
23 | #include <linux/raid/md_u.h> | 24 | #include <linux/raid/md_u.h> |
24 | #include <linux/seq_file.h> | 25 | #include <linux/seq_file.h> |
25 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index 0eb08a4df759..0cf86cfc87a6 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include <linux/blkdev.h> | 21 | #include <linux/blkdev.h> |
22 | #include <linux/seq_file.h> | 22 | #include <linux/seq_file.h> |
23 | #include <linux/module.h> | ||
23 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
24 | #include "md.h" | 25 | #include "md.h" |
25 | #include "raid0.h" | 26 | #include "raid0.h" |
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 4602fc57c961..66afe3cd0b87 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
35 | #include <linux/delay.h> | 35 | #include <linux/delay.h> |
36 | #include <linux/blkdev.h> | 36 | #include <linux/blkdev.h> |
37 | #include <linux/module.h> | ||
37 | #include <linux/seq_file.h> | 38 | #include <linux/seq_file.h> |
38 | #include <linux/ratelimit.h> | 39 | #include <linux/ratelimit.h> |
39 | #include "md.h" | 40 | #include "md.h" |
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 132c18ef8665..bdceadf9e910 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <linux/delay.h> | 22 | #include <linux/delay.h> |
23 | #include <linux/blkdev.h> | 23 | #include <linux/blkdev.h> |
24 | #include <linux/module.h> | ||
24 | #include <linux/seq_file.h> | 25 | #include <linux/seq_file.h> |
25 | #include <linux/ratelimit.h> | 26 | #include <linux/ratelimit.h> |
26 | #include "md.h" | 27 | #include "md.h" |
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index f6fe053a5bed..029506e55d94 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <linux/kthread.h> | 47 | #include <linux/kthread.h> |
48 | #include <linux/raid/pq.h> | 48 | #include <linux/raid/pq.h> |
49 | #include <linux/async_tx.h> | 49 | #include <linux/async_tx.h> |
50 | #include <linux/module.h> | ||
50 | #include <linux/async.h> | 51 | #include <linux/async.h> |
51 | #include <linux/seq_file.h> | 52 | #include <linux/seq_file.h> |
52 | #include <linux/cpu.h> | 53 | #include <linux/cpu.h> |
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c index b595f560bee7..8b02f60ffc86 100644 --- a/lib/raid6/algos.c +++ b/lib/raid6/algos.c | |||
@@ -17,6 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/raid/pq.h> | 19 | #include <linux/raid/pq.h> |
20 | #include <linux/module.h> | ||
20 | #ifndef __KERNEL__ | 21 | #ifndef __KERNEL__ |
21 | #include <sys/mman.h> | 22 | #include <sys/mman.h> |
22 | #include <stdio.h> | 23 | #include <stdio.h> |