From: Paul Gortmaker Date: Fri, 27 May 2011 13:42:30 +0000 (-0400) Subject: pci: add module.h to files implicitly relying on its presence. X-Git-Tag: next-20110729~14^2~91 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=569122eeb787fbed7ccfd363ddf326d0ecbde675;p=karo-tx-linux.git 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 --- diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c index 1d002b1c2bf4..c56a9413e1af 100644 --- a/drivers/pci/hotplug/rpadlpar_core.c +++ b/drivers/pci/hotplug/rpadlpar_core.c @@ -18,6 +18,7 @@ #undef DEBUG #include +#include #include #include #include diff --git a/drivers/pci/slot.c b/drivers/pci/slot.c index 968cfea04f74..ac6412fb8d6f 100644 --- a/drivers/pci/slot.c +++ b/drivers/pci/slot.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include "pci.h"