From: Paul Gortmaker Date: Fri, 27 May 2011 13:20:21 +0000 (-0400) Subject: pci: pci-sysfs.c needs export.h for THIS_MODULE X-Git-Tag: next-20110829~4^2~25 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c47b6f1ae67393780c61d3026c6bed49c646c9f2;p=karo-tx-linux.git pci: pci-sysfs.c needs export.h for THIS_MODULE Otherwise, once you break the chain of implicit includes from device.h --> module.h then you will get this: pci-sysfs.c: In function ‘remove_store’: pci-sysfs.c:350: error: ‘THIS_MODULE’ undeclared (first use in this function) pci-sysfs.c:350: error: (Each undeclared identifier is reported only once pci-sysfs.c:350: error: for each function it appears in.) make[3]: *** [drivers/pci/pci-sysfs.o] Error 1 Signed-off-by: Paul Gortmaker --- diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c index 7bcf12adced7..106be0d08f81 100644 --- a/drivers/pci/pci-sysfs.c +++ b/drivers/pci/pci-sysfs.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include