]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
pci: Fix files needing export.h since they use EXPORT_SYMBOL
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 13:37:25 +0000 (09:37 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:43 +0000 (04:05 -0400)
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 <paul.gortmaker@windriver.com>
drivers/pci/hotplug-pci.c
drivers/pci/hotplug/pcihp_slot.c
drivers/pci/htirq.c
drivers/pci/iov.c
drivers/pci/irq.c
drivers/pci/msi.c
drivers/pci/quirks.c
drivers/pci/rom.c
drivers/pci/setup-res.c
drivers/pci/vpd.c

index 4d4a64478404650a9640c852b3cf708937fc5ff0..d3509cdeb554913dddb68fc5b956c63bd77a1abf 100644 (file)
@@ -1,6 +1,7 @@
 /* Core PCI functionality used only by PCI hotplug */
 
 #include <linux/pci.h>
+#include <linux/export.h>
 #include "pci.h"
 
 
index 749fdf0703199cef927004c6fa8b803d28ae1368..92885abe8ab451413f67ef0ac603dcce6d9e002e 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #include <linux/pci.h>
+#include <linux/export.h>
 #include <linux/pci_hotplug.h>
 
 static struct hpp_type0 pci_default_type0 = {
index db057b6fe0c8bccf12710cee1c488d77def872f9..6e373ea57b32834df2076b26b4f0d72941933644 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/irq.h>
 #include <linux/pci.h>
 #include <linux/spinlock.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/htirq.h>
 
index 42fae477651517ef8dd447427c39ea00d8955951..75e26b511f8c6fc0b150b99bfff5043fa0660900 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/pci.h>
 #include <linux/slab.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 #include <linux/string.h>
 #include <linux/delay.h>
 #include <linux/pci-ats.h>
index de01174aff067a2868817b5d64deea03cd040d55..e5f69a43b1b18e0961ff05ddc29ae3872be962fc 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/acpi.h>
 #include <linux/device.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 
 static void pci_note_irq_problem(struct pci_dev *pdev, const char *reason)
index 2f10328bf661234437c1e862f7d4e1a96afeabb3..0e6d04d7ba4f7c0a2f8494f3e99aceaed1eecacb 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/irq.h>
 #include <linux/interrupt.h>
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/ioport.h>
 #include <linux/pci.h>
 #include <linux/proc_fs.h>
index 1196f61a4ab6b2dabab0faacd1cbde65bf53af9a..2880733a29fa64177f89598adf0fc276ff220eaf 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <linux/types.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/delay.h>
index 36864a935d687bb732f9c09b45f2c647d6dca54c..48ebdb237f3f73d1e37e6e2022940ea5262d459c 100644 (file)
@@ -7,6 +7,7 @@
  * PCI ROM access routines
  */
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 #include <linux/slab.h>
 
index 319f359906e8198628e3d8a7ce60447dd82c3c0f..3aab78bc19cd3421f88ee61b0f53afa17aab5864 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <linux/init.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 #include <linux/errno.h>
 #include <linux/ioport.h>
index a5a5ca17cfe6bd9bb28afc0248546f80dca6cf99..39b79070335db7f0a5ae040b083bdc457c2f0f44 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <linux/pci.h>
+#include <linux/export.h>
 
 int pci_vpd_find_tag(const u8 *buf, unsigned int off, unsigned int len, u8 rdt)
 {