]> 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>
Sun, 31 Jul 2011 08:05:44 +0000 (04:05 -0400)
commit4a773bef58ce4eecdf016fd5e63d31f8c0350c32
treed116a3f50dad015a9734b62d2f912884a22f42af
parent8588d540c33f2f939846e4b7d91a0be9a51fc470
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