Skip to content

Commit

Permalink
drivers/md: change module.h -> export.h in persistent-data/dm-*
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker authored and torvalds committed Nov 7, 2011
1 parent 0c073e3 commit 1944ce6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/md/persistent-data/dm-btree-remove.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "dm-btree-internal.h"
#include "dm-transaction-manager.h"

#include <linux/module.h>
#include <linux/export.h>

/*
* Removing an entry from a btree
Expand Down
2 changes: 1 addition & 1 deletion drivers/md/persistent-data/dm-btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "dm-space-map.h"
#include "dm-transaction-manager.h"

#include <linux/module.h>
#include <linux/export.h>
#include <linux/device-mapper.h>

#define DM_MSG_PREFIX "btree"
Expand Down
2 changes: 1 addition & 1 deletion drivers/md/persistent-data/dm-space-map-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <linux/list.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/device-mapper.h>

#define DM_MSG_PREFIX "space map disk"
Expand Down
2 changes: 1 addition & 1 deletion drivers/md/persistent-data/dm-transaction-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "dm-space-map-metadata.h"
#include "dm-persistent-data-internal.h"

#include <linux/module.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/device-mapper.h>

Expand Down

0 comments on commit 1944ce6

Please sign in to comment.