From 11e5c1ffb4ecdc6874c28e021b141109c314e768 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Wed, 27 Jul 2011 22:07:02 -0400 Subject: [PATCH] ssb: fixup another group of export.h implicit users MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Or we will get things like this when we remove the implicit path: drivers/ssb/embedded.c:32: warning: data definition has no type or storage class drivers/ssb/embedded.c:32: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' drivers/ssb/embedded.c:32: warning: parameter names (without types) in function declaration drivers/ssb/driver_chipcommon.c:432: warning: data definition has no type or storage class drivers/ssb/driver_chipcommon.c:432: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' drivers/ssb/driver_chipcommon.c:432: warning: parameter names (without types) in function declaration drivers/ssb/driver_chipcommon_pmu.c:607: warning: data definition has no type or storage class drivers/ssb/driver_chipcommon_pmu.c:607: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' drivers/ssb/driver_chipcommon_pmu.c:607: warning: parameter names (without types) in function declaration drivers/ssb/pcihost_wrapper.c: In function ‘ssb_pcihost_register’: drivers/ssb/pcihost_wrapper.c:120: error: ‘THIS_MODULE’ undeclared (first use in this function) drivers/ssb/pcihost_wrapper.c:120: error: (Each undeclared identifier is reported only once drivers/ssb/pcihost_wrapper.c:120: error: for each function it appears in.) drivers/ssb/driver_pcicore.c:721: warning: data definition has no type or storage class drivers/ssb/driver_pcicore.c:721: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ drivers/ssb/driver_pcicore.c:721: warning: parameter names (without types) in function declaration Signed-off-by: Paul Gortmaker --- drivers/ssb/driver_chipcommon.c | 1 + drivers/ssb/driver_chipcommon_pmu.c | 1 + drivers/ssb/driver_pcicore.c | 1 + drivers/ssb/embedded.c | 1 + drivers/ssb/pcihost_wrapper.c | 1 + 5 files changed, 5 insertions(+) diff --git a/drivers/ssb/driver_chipcommon.c b/drivers/ssb/driver_chipcommon.c index 5d9c97c24797..e9d2ca11283b 100644 --- a/drivers/ssb/driver_chipcommon.c +++ b/drivers/ssb/driver_chipcommon.c @@ -10,6 +10,7 @@ #include #include +#include #include #include "ssb_private.h" diff --git a/drivers/ssb/driver_chipcommon_pmu.c b/drivers/ssb/driver_chipcommon_pmu.c index 52901c14c68b..e5a2e0e9bc19 100644 --- a/drivers/ssb/driver_chipcommon_pmu.c +++ b/drivers/ssb/driver_chipcommon_pmu.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "ssb_private.h" diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c index e6ac3177fbbe..84c934c0a545 100644 --- a/drivers/ssb/driver_pcicore.c +++ b/drivers/ssb/driver_pcicore.c @@ -10,6 +10,7 @@ #include #include +#include #include #include diff --git a/drivers/ssb/embedded.c b/drivers/ssb/embedded.c index eec3e267be4d..9ef124f9ee2d 100644 --- a/drivers/ssb/embedded.c +++ b/drivers/ssb/embedded.c @@ -8,6 +8,7 @@ * Licensed under the GNU/GPL. See COPYING for details. */ +#include #include #include #include diff --git a/drivers/ssb/pcihost_wrapper.c b/drivers/ssb/pcihost_wrapper.c index 116a8116984b..af5448f5e2d2 100644 --- a/drivers/ssb/pcihost_wrapper.c +++ b/drivers/ssb/pcihost_wrapper.c @@ -12,6 +12,7 @@ */ #include +#include #include #include -- 2.39.5