summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.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/pci-sysfs.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/pci-sysfs.c')
-rw-r--r--drivers/pci/pci-sysfs.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/sched.h>
#include <linux/pci.h>
#include <linux/stat.h>
+#include <linux/export.h>
#include <linux/topology.h>
#include <linux/mm.h>
#include <linux/fs.h>