summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pcihp_slot.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 15:37:25 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:22 +0100
commit363c75db1d7bbda0aa90e680565f2673bab92ee4 (patch)
tree7f6e2febf8b21f9bb17ad0ae2c699d362629441f /drivers/pci/hotplug/pcihp_slot.c
parentsound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed (diff)
downloadlinux-363c75db1d7bbda0aa90e680565f2673bab92ee4.tar.xz
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/pcihp_slot.c')
-rw-r--r--drivers/pci/hotplug/pcihp_slot.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/pci.h>
+#include <linux/export.h>
#include <linux/pci_hotplug.h>
static struct hpp_type0 pci_default_type0 = {