]> 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, 25 Aug 2011 17:55:18 +0000 (13:55 -0400)
commit9f79429ca85d340c76ed8395a04812eb5bf740f3
tree0ce0a396c33771cbbf56186118ee0ae2279df056
parent9517c2545810d4463ec31a606eeadfe9e3986a34
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