Skip to content

Commit 1944ce6

Browse files
Paul Gortmakertorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 0c073e3 commit 1944ce6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

drivers/md/persistent-data/dm-btree-remove.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "dm-btree-internal.h"
99
#include "dm-transaction-manager.h"
1010

11-
#include <linux/module.h>
11+
#include <linux/export.h>
1212

1313
/*
1414
* Removing an entry from a btree

drivers/md/persistent-data/dm-btree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "dm-space-map.h"
99
#include "dm-transaction-manager.h"
1010

11-
#include <linux/module.h>
11+
#include <linux/export.h>
1212
#include <linux/device-mapper.h>
1313

1414
#define DM_MSG_PREFIX "btree"

drivers/md/persistent-data/dm-space-map-disk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#include <linux/list.h>
1414
#include <linux/slab.h>
15-
#include <linux/module.h>
15+
#include <linux/export.h>
1616
#include <linux/device-mapper.h>
1717

1818
#define DM_MSG_PREFIX "space map disk"

drivers/md/persistent-data/dm-transaction-manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "dm-space-map-metadata.h"
1111
#include "dm-persistent-data-internal.h"
1212

13-
#include <linux/module.h>
13+
#include <linux/export.h>
1414
#include <linux/slab.h>
1515
#include <linux/device-mapper.h>
1616

0 commit comments

Comments
 (0)