summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug-pci.c
diff options
context:
space:
mode:
authorPaul Gortmaker2011-05-27 15:37:25 +0200
committerPaul Gortmaker2011-11-01 00:31:22 +0100
commit363c75db1d7bbda0aa90e680565f2673bab92ee4 (patch)
tree7f6e2febf8b21f9bb17ad0ae2c699d362629441f /drivers/pci/hotplug-pci.c
parentsound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed (diff)
downloadkernel-qcow2-linux-363c75db1d7bbda0aa90e680565f2673bab92ee4.tar.gz
kernel-qcow2-linux-363c75db1d7bbda0aa90e680565f2673bab92ee4.tar.xz
kernel-qcow2-linux-363c75db1d7bbda0aa90e680565f2673bab92ee4.zip
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/hotplug-pci.c')
-rw-r--r--drivers/pci/hotplug-pci.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/pci.h>
+#include <linux/export.h>
#include "pci.h"