]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e7d036bb5b3531b3d335ac224f1d463d5161b4b
tree7365f73b0ff9be45b7b8a623d7878105eeb12814
parenta69f6e3761a32d68d8ed1644896cc893b8a012cd
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