Return-path: Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:52646 "HELO oproxy7-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751182Ab1ITUvl (ORCPT ); Tue, 20 Sep 2011 16:51:41 -0400 Message-ID: <4E78FCDB.1010002@xenotime.net> (sfid-20110920_225156_696436_78307C38) Date: Tue, 20 Sep 2011 13:51:39 -0700 From: Randy Dunlap MIME-Version: 1.0 To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= CC: Andrew Morton , Stephen Rothwell , linux-next@vger.kernel.org, LKML , "linux-wireless@vger.kernel.org" Subject: [PATCH -next v2] bcma: driver_chipcommon_pmu.c needs linux/export.h References: <20110920173102.d38155c7defbbc29beaae7c0@canb.auug.org.au> <4E78CFC0.4020003@xenotime.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Randy Dunlap bcma/driver_chipcommon_pmu.c needs to include to fix these warnings: drivers/bcma/driver_chipcommon_pmu.c:27:1: warning: data definition has no type or storage class drivers/bcma/driver_chipcommon_pmu.c:27:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/bcma/driver_chipcommon_pmu.c:27:1: warning: parameter names (without types) in function declaration drivers/bcma/driver_chipcommon_pmu.c:36:1: warning: data definition has no type or storage class drivers/bcma/driver_chipcommon_pmu.c:36:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/bcma/driver_chipcommon_pmu.c:36:1: warning: parameter names (without types) in function declaration drivers/bcma/driver_chipcommon_pmu.c:45:1: warning: data definition has no type or storage class drivers/bcma/driver_chipcommon_pmu.c:45:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/bcma/driver_chipcommon_pmu.c:45:1: warning: parameter names (without types) in function declaration drivers/bcma/driver_chipcommon_pmu.c:54:1: warning: data definition has no type or storage class drivers/bcma/driver_chipcommon_pmu.c:54:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/bcma/driver_chipcommon_pmu.c:54:1: warning: parameter names (without types) in function declaration Signed-off-by: Randy Dunlap --- drivers/bcma/driver_chipcommon_pmu.c | 1 + 1 file changed, 1 insertion(+) --- next-2011-0920.orig/drivers/bcma/driver_chipcommon_pmu.c +++ next-2011-0920/drivers/bcma/driver_chipcommon_pmu.c @@ -9,6 +9,7 @@ */ #include "bcma_private.h" +#include #include static u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset)