diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-26 16:00:52 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:12 -0400 |
commit | d5decd3b9512e35c87492312a72443192eebdda9 (patch) | |
tree | 96aec1c137a09e3b8c4129862d117ce9775909fb /drivers/block/aoe | |
parent | a0e5cc581b3fc0e0a909e3cab48d9ec286c2a276 (diff) |
block: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros
These files were getting <linux/module.h> via an implicit include
path, but we want to crush those out of existence since they cost
time during compiles of processing thousands of lines of headers
for no reason. Give them the lightweight header that just contains
the EXPORT_SYMBOL infrastructure.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r-- | drivers/block/aoe/aoeblk.c | 1 | ||||
-rw-r--r-- | drivers/block/aoe/aoechr.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c index 528f6318ded1..c01795d00aa5 100644 --- a/drivers/block/aoe/aoeblk.c +++ b/drivers/block/aoe/aoeblk.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/genhd.h> | 15 | #include <linux/genhd.h> |
16 | #include <linux/netdevice.h> | 16 | #include <linux/netdevice.h> |
17 | #include <linux/mutex.h> | 17 | #include <linux/mutex.h> |
18 | #include <linux/export.h> | ||
18 | #include "aoe.h" | 19 | #include "aoe.h" |
19 | 20 | ||
20 | static DEFINE_MUTEX(aoeblk_mutex); | 21 | static DEFINE_MUTEX(aoeblk_mutex); |
diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c index 146296ca4965..5f8e39c43ae5 100644 --- a/drivers/block/aoe/aoechr.c +++ b/drivers/block/aoe/aoechr.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <linux/mutex.h> | 12 | #include <linux/mutex.h> |
13 | #include <linux/skbuff.h> | 13 | #include <linux/skbuff.h> |
14 | #include <linux/export.h> | ||
14 | #include "aoe.h" | 15 | #include "aoe.h" |
15 | 16 | ||
16 | enum { | 17 | enum { |