提交 1944ce60 编写于 作者: P Paul Gortmaker 提交者: Linus Torvalds

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: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0c073e35
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "dm-btree-internal.h" #include "dm-btree-internal.h"
#include "dm-transaction-manager.h" #include "dm-transaction-manager.h"
#include <linux/module.h> #include <linux/export.h>
/* /*
* Removing an entry from a btree * Removing an entry from a btree
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "dm-space-map.h" #include "dm-space-map.h"
#include "dm-transaction-manager.h" #include "dm-transaction-manager.h"
#include <linux/module.h> #include <linux/export.h>
#include <linux/device-mapper.h> #include <linux/device-mapper.h>
#define DM_MSG_PREFIX "btree" #define DM_MSG_PREFIX "btree"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/module.h> #include <linux/export.h>
#include <linux/device-mapper.h> #include <linux/device-mapper.h>
#define DM_MSG_PREFIX "space map disk" #define DM_MSG_PREFIX "space map disk"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "dm-space-map-metadata.h" #include "dm-space-map-metadata.h"
#include "dm-persistent-data-internal.h" #include "dm-persistent-data-internal.h"
#include <linux/module.h> #include <linux/export.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/device-mapper.h> #include <linux/device-mapper.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册