diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-09-28 18:29:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-07 13:29:09 -0500 |
commit | 1944ce60fe1e92506d3347f4d8e10a82b17096e4 (patch) | |
tree | 1da72242c0a525e6a46c3ddc9693d88816362a03 /drivers/md/persistent-data | |
parent | 0c073e35550879fd133bc3fe509df5b88da51278 (diff) |
drivers/md: change module.h -> export.h in persistent-data/dm-*
For the files which are not themselves modular, we can change
them to include only the smaller export.h since all they are
doing is looking for EXPORT_SYMBOL.
Reported-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>
Diffstat (limited to 'drivers/md/persistent-data')
-rw-r--r-- | drivers/md/persistent-data/dm-btree-remove.c | 2 | ||||
-rw-r--r-- | drivers/md/persistent-data/dm-btree.c | 2 | ||||
-rw-r--r-- | drivers/md/persistent-data/dm-space-map-disk.c | 2 | ||||
-rw-r--r-- | drivers/md/persistent-data/dm-transaction-manager.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/persistent-data/dm-btree-remove.c b/drivers/md/persistent-data/dm-btree-remove.c index 65fd85ec6514..023fbc2d389e 100644 --- a/drivers/md/persistent-data/dm-btree-remove.c +++ b/drivers/md/persistent-data/dm-btree-remove.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include "dm-btree-internal.h" | 8 | #include "dm-btree-internal.h" |
9 | #include "dm-transaction-manager.h" | 9 | #include "dm-transaction-manager.h" |
10 | 10 | ||
11 | #include <linux/module.h> | 11 | #include <linux/export.h> |
12 | 12 | ||
13 | /* | 13 | /* |
14 | * Removing an entry from a btree | 14 | * Removing an entry from a btree |
diff --git a/drivers/md/persistent-data/dm-btree.c b/drivers/md/persistent-data/dm-btree.c index e0638be53ea4..bd1e7ffbe26c 100644 --- a/drivers/md/persistent-data/dm-btree.c +++ b/drivers/md/persistent-data/dm-btree.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include "dm-space-map.h" | 8 | #include "dm-space-map.h" |
9 | #include "dm-transaction-manager.h" | 9 | #include "dm-transaction-manager.h" |
10 | 10 | ||
11 | #include <linux/module.h> | 11 | #include <linux/export.h> |
12 | #include <linux/device-mapper.h> | 12 | #include <linux/device-mapper.h> |
13 | 13 | ||
14 | #define DM_MSG_PREFIX "btree" | 14 | #define DM_MSG_PREFIX "btree" |
diff --git a/drivers/md/persistent-data/dm-space-map-disk.c b/drivers/md/persistent-data/dm-space-map-disk.c index aeff7852cf79..fc469ba9f627 100644 --- a/drivers/md/persistent-data/dm-space-map-disk.c +++ b/drivers/md/persistent-data/dm-space-map-disk.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | #include <linux/list.h> | 13 | #include <linux/list.h> |
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/module.h> | 15 | #include <linux/export.h> |
16 | #include <linux/device-mapper.h> | 16 | #include <linux/device-mapper.h> |
17 | 17 | ||
18 | #define DM_MSG_PREFIX "space map disk" | 18 | #define DM_MSG_PREFIX "space map disk" |
diff --git a/drivers/md/persistent-data/dm-transaction-manager.c b/drivers/md/persistent-data/dm-transaction-manager.c index 728e89a3f978..6f8d38747d7f 100644 --- a/drivers/md/persistent-data/dm-transaction-manager.c +++ b/drivers/md/persistent-data/dm-transaction-manager.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include "dm-space-map-metadata.h" | 10 | #include "dm-space-map-metadata.h" |
11 | #include "dm-persistent-data-internal.h" | 11 | #include "dm-persistent-data-internal.h" |
12 | 12 | ||
13 | #include <linux/module.h> | 13 | #include <linux/export.h> |
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/device-mapper.h> | 15 | #include <linux/device-mapper.h> |
16 | 16 | ||