From ce0362d548cc160b97a386ccf9b835b730d0c689 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 27 May 2011 09:37:25 -0400 Subject: [PATCH] pci: Fix files needing export.h since they use EXPORT_SYMBOL They were implicitly getting it from device.h --> module.h but we want to clean that up and untangle that mess. So add the minimal header for the exports. Signed-off-by: Paul Gortmaker --- drivers/pci/hotplug-pci.c | 1 + drivers/pci/hotplug/pcihp_slot.c | 1 + drivers/pci/htirq.c | 1 + drivers/pci/iov.c | 1 + drivers/pci/irq.c | 1 + drivers/pci/msi.c | 1 + drivers/pci/quirks.c | 1 + drivers/pci/rom.c | 1 + drivers/pci/setup-res.c | 1 + drivers/pci/vpd.c | 1 + 10 files changed, 10 insertions(+) diff --git a/drivers/pci/hotplug-pci.c b/drivers/pci/hotplug-pci.c index 4d4a64478404..d3509cdeb554 100644 --- a/drivers/pci/hotplug-pci.c +++ b/drivers/pci/hotplug-pci.c @@ -1,6 +1,7 @@ /* Core PCI functionality used only by PCI hotplug */ #include +#include #include "pci.h" diff --git a/drivers/pci/hotplug/pcihp_slot.c b/drivers/pci/hotplug/pcihp_slot.c index 749fdf070319..92885abe8ab4 100644 --- a/drivers/pci/hotplug/pcihp_slot.c +++ b/drivers/pci/hotplug/pcihp_slot.c @@ -24,6 +24,7 @@ */ #include +#include #include static struct hpp_type0 pci_default_type0 = { diff --git a/drivers/pci/htirq.c b/drivers/pci/htirq.c index db057b6fe0c8..6e373ea57b32 100644 --- a/drivers/pci/htirq.c +++ b/drivers/pci/htirq.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 42fae4776515..75e26b511f8c 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/irq.c b/drivers/pci/irq.c index de01174aff06..e5f69a43b1b1 100644 --- a/drivers/pci/irq.c +++ b/drivers/pci/irq.c @@ -7,6 +7,7 @@ #include #include #include +#include #include static void pci_note_irq_problem(struct pci_dev *pdev, const char *reason) diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 2f10328bf661..0e6d04d7ba4f 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 1196f61a4ab6..2880733a29fa 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include diff --git a/drivers/pci/rom.c b/drivers/pci/rom.c index 36864a935d68..48ebdb237f3f 100644 --- a/drivers/pci/rom.c +++ b/drivers/pci/rom.c @@ -7,6 +7,7 @@ * PCI ROM access routines */ #include +#include #include #include diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index bc0e6eea0fff..bd7f1a700fd8 100644 --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include diff --git a/drivers/pci/vpd.c b/drivers/pci/vpd.c index a5a5ca17cfe6..39b79070335d 100644 --- a/drivers/pci/vpd.c +++ b/drivers/pci/vpd.c @@ -6,6 +6,7 @@ */ #include +#include int pci_vpd_find_tag(const u8 *buf, unsigned int off, unsigned int len, u8 rdt) { -- 2.39.5