Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Paul Gortmaker and committed by
Linus Torvalds
1944ce60 0c073e35

+4 -4
+1 -1
drivers/md/persistent-data/dm-btree-remove.c
··· 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
+1 -1
drivers/md/persistent-data/dm-btree.c
··· 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"
+1 -1
drivers/md/persistent-data/dm-space-map-disk.c
··· 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"
+1 -1
drivers/md/persistent-data/dm-transaction-manager.c
··· 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