summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp_acpi.c
diff options
context:
space:
mode:
authorPaul Gortmaker2011-05-27 15:42:30 +0200
committerPaul Gortmaker2011-11-01 00:31:23 +0100
commiteefa9cfc891d18aa83744353d2a3fbe95a86ee2d (patch)
tree7365f73b0ff9be45b7b8a623d7878105eeb12814 /drivers/pci/hotplug/pciehp_acpi.c
parentpci: Fix files needing export.h for EXPORT_SYMBOL/THIS_MODULE (diff)
downloadkernel-qcow2-linux-eefa9cfc891d18aa83744353d2a3fbe95a86ee2d.tar.gz
kernel-qcow2-linux-eefa9cfc891d18aa83744353d2a3fbe95a86ee2d.tar.xz
kernel-qcow2-linux-eefa9cfc891d18aa83744353d2a3fbe95a86ee2d.zip
pci: add module.h to files implicitly relying on its presence.
These were getting module.h implicitly from device.h but we want to clean that up, so we fix it here to avoid things like: pci/slot.c: In function ‘pci_hp_create_module_link’: pci/slot.c:383: error: ‘module_kset’ undeclared (first use in this function) Similarly, rpadlpar_core.c is modular, so add module.h to its includes. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_acpi.c')
-rw-r--r--drivers/pci/hotplug/pciehp_acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/pciehp_acpi.c b/drivers/pci/hotplug/pciehp_acpi.c
index 5f7226223a62..376d70d17176 100644
--- a/drivers/pci/hotplug/pciehp_acpi.c
+++ b/drivers/pci/hotplug/pciehp_acpi.c
@@ -27,6 +27,7 @@
#include <linux/pci.h>
#include <linux/pci_hotplug.h>
#include <linux/slab.h>
+#include <linux/module.h>
#include "pciehp.h"
#define PCIEHP_DETECT_PCIE (0)