]> 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)
commit847bdecaefa7a2d53cc99957b9824a629240675b
tree7365f73b0ff9be45b7b8a623d7878105eeb12814
parentf19fd43f9cf67fe53d53c9b1589a6594e2eb08be
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