]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drivers/md: change module.h -> export.h in persistent-data/dm-*
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 28 Sep 2011 22:29:32 +0000 (18:29 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 18:29:09 +0000 (10:29 -0800)
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>
drivers/md/persistent-data/dm-btree-remove.c
drivers/md/persistent-data/dm-btree.c
drivers/md/persistent-data/dm-space-map-disk.c
drivers/md/persistent-data/dm-transaction-manager.c

index 65fd85ec6514dabcb0d13720cb5f029b861e90a4..023fbc2d389ee086e2edf53168e969a24dba5cad 100644 (file)
@@ -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
index e0638be53ea4302460d9a47df1cbd7f736d145a7..bd1e7ffbe26c750a26a4b9341d925a98acf632b3 100644 (file)
@@ -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"
index aeff7852cf79bf731ab69370fffe9ce0f4c38537..fc469ba9f6277a7c701615a1b3d788a05fa52559 100644 (file)
@@ -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"
index 728e89a3f97830c3290e282a5daa7788c4fc309c..6f8d38747d7f438294fca80e24a3e3a61441dda1 100644 (file)
@@ -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>