]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 28 Jul 2011 03:43:39 +0000 (23:43 -0400)
commit569122eeb787fbed7ccfd363ddf326d0ecbde675
tree30a4626fd4446f4f1b30f177d54ba8997f5fcc56
parentce0362d548cc160b97a386ccf9b835b730d0c689
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/rpadlpar_core.c
drivers/pci/slot.c