Commit 1944ce60fe1e92506d3347f4d8e10a82b17096e4

Authored by Paul Gortmaker
Committed by Linus Torvalds
1 parent 0c073e3555

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>

Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff

drivers/md/persistent-data/dm-btree-remove.c
... ... @@ -8,7 +8,7 @@
8 8 #include "dm-btree-internal.h"
9 9 #include "dm-transaction-manager.h"
10 10  
11   -#include <linux/module.h>
  11 +#include <linux/export.h>
12 12  
13 13 /*
14 14 * Removing an entry from a btree
drivers/md/persistent-data/dm-btree.c
... ... @@ -8,7 +8,7 @@
8 8 #include "dm-space-map.h"
9 9 #include "dm-transaction-manager.h"
10 10  
11   -#include <linux/module.h>
  11 +#include <linux/export.h>
12 12 #include <linux/device-mapper.h>
13 13  
14 14 #define DM_MSG_PREFIX "btree"
drivers/md/persistent-data/dm-space-map-disk.c
... ... @@ -12,7 +12,7 @@
12 12  
13 13 #include <linux/list.h>
14 14 #include <linux/slab.h>
15   -#include <linux/module.h>
  15 +#include <linux/export.h>
16 16 #include <linux/device-mapper.h>
17 17  
18 18 #define DM_MSG_PREFIX "space map disk"
drivers/md/persistent-data/dm-transaction-manager.c
... ... @@ -10,7 +10,7 @@
10 10 #include "dm-space-map-metadata.h"
11 11 #include "dm-persistent-data-internal.h"
12 12  
13   -#include <linux/module.h>
  13 +#include <linux/export.h>
14 14 #include <linux/slab.h>
15 15 #include <linux/device-mapper.h>
16 16