From 363c75db1d7bbda0aa90e680565f2673bab92ee4 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 for EXPORT_SYMBOL/THIS_MODULE They were implicitly getting it from device.h --> module.h but we want to clean that up. So add the minimal header for these macros. Signed-off-by: Paul Gortmaker --- drivers/pci/ats.c | 1 + drivers/pci/hotplug-pci.c | 1 + drivers/pci/hotplug/pcihp_slot.c | 1 + drivers/pci/htirq.c | 1 + drivers/pci/ioapic.c | 1 + drivers/pci/iov.c | 1 + drivers/pci/irq.c | 1 + drivers/pci/msi.c | 1 + drivers/pci/pci-sysfs.c | 1 + drivers/pci/quirks.c | 1 + drivers/pci/rom.c | 1 + drivers/pci/setup-res.c | 1 + drivers/pci/vpd.c | 1 + 13 files changed, 13 insertions(+) diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c index f727a09eb72f..7ec56fb0bd78 100644 --- a/drivers/pci/ats.c +++ b/drivers/pci/ats.c @@ -10,6 +10,7 @@ * PASID support added by Joerg Roedel */ +#include #include #include 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 3ffd9c1acc0a..8c05a18c9770 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/ioapic.c b/drivers/pci/ioapic.c index 203508b227b7..5775638ac017 100644 --- a/drivers/pci/ioapic.c +++ b/drivers/pci/ioapic.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 9b4e88c636f8..b82c155d7b37 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/pci-sysfs.c b/drivers/pci/pci-sysfs.c index 7bcf12adced7..106be0d08f81 100644 --- a/drivers/pci/pci-sysfs.c +++ b/drivers/pci/pci-sysfs.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 7285145ac1c9..64765474676f 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 51a9095c7da4..5717509becbe 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) { -- GitLab