From 9775913fa05c57b046aa076ae03881f8ee66742b Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 27 May 2011 17:06:52 -0400 Subject: of: of_pci.c needs export.h since it uses EXPORT_SYMBOLS It was getting it implicitly before, since module.h was pulled in via device.h -- but that is something we are going to make go away soon. Signed-off-by: Paul Gortmaker --- drivers/of/of_pci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/of') diff --git a/drivers/of/of_pci.c b/drivers/of/of_pci.c index 3701b62c1d5..13e37e2d8ec 100644 --- a/drivers/of/of_pci.c +++ b/drivers/of/of_pci.c @@ -1,4 +1,5 @@ #include +#include #include #include #include -- cgit v1.2.3 From 48a9e412b69ab000a6f6bcdc79d4ea982d2f35c1 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 17 Jul 2011 15:58:06 -0400 Subject: drivers/of: Add module.h to of_spi.c This file really needs the full module.h header file present, but was just getting it implicitly before. Fix it up in advance so we avoid build failures once the cleanup commit is present. Signed-off-by: Paul Gortmaker --- drivers/of/of_spi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/of') diff --git a/drivers/of/of_spi.c b/drivers/of/of_spi.c index 1dbce58a58b..6dbc074e487 100644 --- a/drivers/of/of_spi.c +++ b/drivers/of/of_spi.c @@ -6,6 +6,7 @@ * tree. */ +#include #include #include #include -- cgit v1.2.3 From 2c8d667a3102ad0ed3f104d41277c55873297091 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 29 Jul 2011 16:05:38 +1000 Subject: 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 . Signed-off-by: Paul Gortmaker --- drivers/of/of_net.c | 1 + drivers/of/of_pci_irq.c | 1 + 2 files changed, 2 insertions(+) (limited to 'drivers/of') diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index bb184717588..ffab033d207 100644 --- a/drivers/of/of_net.c +++ b/drivers/of/of_net.c @@ -9,6 +9,7 @@ #include #include #include +#include /** * 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 ac1ec54e4fd..93125163dea 100644 --- a/drivers/of/of_pci_irq.c +++ b/drivers/of/of_pci_irq.c @@ -1,6 +1,7 @@ #include #include #include +#include #include /** -- cgit v1.2.3