diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 09:37:25 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:22 -0400 |
commit | 363c75db1d7bbda0aa90e680565f2673bab92ee4 (patch) | |
tree | 7f6e2febf8b21f9bb17ad0ae2c699d362629441f /drivers/pci | |
parent | d81a6d71760c4d8323f1f9a506c64084caa09063 (diff) |
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 <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/ats.c | 1 | ||||
-rw-r--r-- | drivers/pci/hotplug-pci.c | 1 | ||||
-rw-r--r-- | drivers/pci/hotplug/pcihp_slot.c | 1 | ||||
-rw-r--r-- | drivers/pci/htirq.c | 1 | ||||
-rw-r--r-- | drivers/pci/ioapic.c | 1 | ||||
-rw-r--r-- | drivers/pci/iov.c | 1 | ||||
-rw-r--r-- | drivers/pci/irq.c | 1 | ||||
-rw-r--r-- | drivers/pci/msi.c | 1 | ||||
-rw-r--r-- | drivers/pci/pci-sysfs.c | 1 | ||||
-rw-r--r-- | drivers/pci/quirks.c | 1 | ||||
-rw-r--r-- | drivers/pci/rom.c | 1 | ||||
-rw-r--r-- | drivers/pci/setup-res.c | 1 | ||||
-rw-r--r-- | drivers/pci/vpd.c | 1 |
13 files changed, 13 insertions, 0 deletions
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 @@ | |||
10 | * PASID support added by Joerg Roedel <joerg.roedel@amd.com> | 10 | * PASID support added by Joerg Roedel <joerg.roedel@amd.com> |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/export.h> | ||
13 | #include <linux/pci-ats.h> | 14 | #include <linux/pci-ats.h> |
14 | #include <linux/pci.h> | 15 | #include <linux/pci.h> |
15 | 16 | ||
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 @@ | |||
1 | /* Core PCI functionality used only by PCI hotplug */ | 1 | /* Core PCI functionality used only by PCI hotplug */ |
2 | 2 | ||
3 | #include <linux/pci.h> | 3 | #include <linux/pci.h> |
4 | #include <linux/export.h> | ||
4 | #include "pci.h" | 5 | #include "pci.h" |
5 | 6 | ||
6 | 7 | ||
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 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <linux/pci.h> | 26 | #include <linux/pci.h> |
27 | #include <linux/export.h> | ||
27 | #include <linux/pci_hotplug.h> | 28 | #include <linux/pci_hotplug.h> |
28 | 29 | ||
29 | static struct hpp_type0 pci_default_type0 = { | 30 | 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 @@ | |||
9 | #include <linux/irq.h> | 9 | #include <linux/irq.h> |
10 | #include <linux/pci.h> | 10 | #include <linux/pci.h> |
11 | #include <linux/spinlock.h> | 11 | #include <linux/spinlock.h> |
12 | #include <linux/export.h> | ||
12 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
13 | #include <linux/htirq.h> | 14 | #include <linux/htirq.h> |
14 | 15 | ||
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 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/pci.h> | 19 | #include <linux/pci.h> |
20 | #include <linux/export.h> | ||
20 | #include <linux/acpi.h> | 21 | #include <linux/acpi.h> |
21 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
22 | #include <acpi/acpi_bus.h> | 23 | #include <acpi/acpi_bus.h> |
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 @@ | |||
11 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <linux/mutex.h> | 13 | #include <linux/mutex.h> |
14 | #include <linux/export.h> | ||
14 | #include <linux/string.h> | 15 | #include <linux/string.h> |
15 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
16 | #include <linux/pci-ats.h> | 17 | #include <linux/pci-ats.h> |
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 @@ | |||
7 | #include <linux/acpi.h> | 7 | #include <linux/acpi.h> |
8 | #include <linux/device.h> | 8 | #include <linux/device.h> |
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
11 | 12 | ||
12 | static void pci_note_irq_problem(struct pci_dev *pdev, const char *reason) | 13 | 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 @@ | |||
11 | #include <linux/irq.h> | 11 | #include <linux/irq.h> |
12 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/export.h> | ||
14 | #include <linux/ioport.h> | 15 | #include <linux/ioport.h> |
15 | #include <linux/pci.h> | 16 | #include <linux/pci.h> |
16 | #include <linux/proc_fs.h> | 17 | #include <linux/proc_fs.h> |
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 @@ | |||
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/pci.h> | 20 | #include <linux/pci.h> |
21 | #include <linux/stat.h> | 21 | #include <linux/stat.h> |
22 | #include <linux/export.h> | ||
22 | #include <linux/topology.h> | 23 | #include <linux/topology.h> |
23 | #include <linux/mm.h> | 24 | #include <linux/mm.h> |
24 | #include <linux/fs.h> | 25 | #include <linux/fs.h> |
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 @@ | |||
17 | 17 | ||
18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
19 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
20 | #include <linux/export.h> | ||
20 | #include <linux/pci.h> | 21 | #include <linux/pci.h> |
21 | #include <linux/init.h> | 22 | #include <linux/init.h> |
22 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
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 @@ | |||
7 | * PCI ROM access routines | 7 | * PCI ROM access routines |
8 | */ | 8 | */ |
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
11 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
12 | 13 | ||
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 @@ | |||
18 | 18 | ||
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
21 | #include <linux/export.h> | ||
21 | #include <linux/pci.h> | 22 | #include <linux/pci.h> |
22 | #include <linux/errno.h> | 23 | #include <linux/errno.h> |
23 | #include <linux/ioport.h> | 24 | #include <linux/ioport.h> |
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 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/pci.h> | 8 | #include <linux/pci.h> |
9 | #include <linux/export.h> | ||
9 | 10 | ||
10 | int pci_vpd_find_tag(const u8 *buf, unsigned int off, unsigned int len, u8 rdt) | 11 | int pci_vpd_find_tag(const u8 *buf, unsigned int off, unsigned int len, u8 rdt) |
11 | { | 12 | { |