pci: add module.h to files implicitly relying on its presence.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 13:42:30 +0000 (09:42 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:23 +0000 (19:31 -0400)
commiteefa9cfc891d18aa83744353d2a3fbe95a86ee2d
tree7365f73b0ff9be45b7b8a623d7878105eeb12814
parent363c75db1d7bbda0aa90e680565f2673bab92ee4
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>
drivers/pci/hotplug/pciehp_acpi.c
drivers/pci/hotplug/rpadlpar_core.c
drivers/pci/slot.c