diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-29 02:05:38 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:56 -0400 |
commit | 2c8d667a3102ad0ed3f104d41277c55873297091 (patch) | |
tree | 8827a13a19305d3c9198d033ae212bd4e4f62cc3 /drivers/of | |
parent | 48a9e412b69ab000a6f6bcdc79d4ea982d2f35c1 (diff) |
drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required
For files that were getting these macros via the implicit presence
of module.h being everywhere.
With contributions from Stephen Rothwell <sfr@canb.auug.org.au>.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/of_net.c | 1 | ||||
-rw-r--r-- | drivers/of/of_pci_irq.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index bb184717588f..ffab033d207e 100644 --- a/drivers/of/of_net.c +++ b/drivers/of/of_net.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/of_net.h> | 10 | #include <linux/of_net.h> |
11 | #include <linux/phy.h> | 11 | #include <linux/phy.h> |
12 | #include <linux/export.h> | ||
12 | 13 | ||
13 | /** | 14 | /** |
14 | * It maps 'enum phy_interface_t' found in include/linux/phy.h | 15 | * It maps 'enum phy_interface_t' found in include/linux/phy.h |
diff --git a/drivers/of/of_pci_irq.c b/drivers/of/of_pci_irq.c index ac1ec54e4fd5..93125163dea2 100644 --- a/drivers/of/of_pci_irq.c +++ b/drivers/of/of_pci_irq.c | |||
@@ -1,6 +1,7 @@ | |||
1 | #include <linux/kernel.h> | 1 | #include <linux/kernel.h> |
2 | #include <linux/of_pci.h> | 2 | #include <linux/of_pci.h> |
3 | #include <linux/of_irq.h> | 3 | #include <linux/of_irq.h> |
4 | #include <linux/export.h> | ||
4 | #include <asm/prom.h> | 5 | #include <asm/prom.h> |
5 | 6 | ||
6 | /** | 7 | /** |