[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111209092631.GB3327@pengutronix.de>
Date: Fri, 9 Dec 2011 10:26:31 +0100
From: Wolfram Sang <w.sang@...gutronix.de>
To: Shawn Guo <shawn.guo@...aro.org>
Cc: Sascha Hauer <kernel@...gutronix.de>,
Richard Zhao <richard.zhao@...escale.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] arm/imx: fix cpufreq build error
On Fri, Dec 09, 2011 at 10:50:55AM +0800, Shawn Guo wrote:
> This patch adds missing linux/module.h to fix the build error seen
> on imx cpuidle driver.
>
> CC arch/arm/plat-mxc/cpufreq.o
> arch/arm/plat-mxc/cpufreq.c:203: error: expected declaration specifiers or '...' before string constant
> arch/arm/plat-mxc/cpufreq.c:203: warning: data definition has no type or storage class
> arch/arm/plat-mxc/cpufreq.c:203: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
> arch/arm/plat-mxc/cpufreq.c:203: warning: function declaration isn't a prototype
> arch/arm/plat-mxc/cpufreq.c:204: error: expected declaration specifiers or '...' before string constant
> arch/arm/plat-mxc/cpufreq.c:204: warning: data definition has no type or storage class
> arch/arm/plat-mxc/cpufreq.c:204: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
> arch/arm/plat-mxc/cpufreq.c:204: warning: function declaration isn't a prototype
> arch/arm/plat-mxc/cpufreq.c:205: error: expected declaration specifiers or '...' before string constant
> arch/arm/plat-mxc/cpufreq.c:205: warning: data definition has no type or storage class
> arch/arm/plat-mxc/cpufreq.c:205: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
> arch/arm/plat-mxc/cpufreq.c:205: warning: function declaration isn't a prototype
> make[1]: *** [arch/arm/plat-mxc/cpufreq.o] Error 1
> make: *** [arch/arm/plat-mxc] Error 2
>
> Reported-by: Richard Zhao <richard.zhao@...escale.com>
> Signed-off-by: Shawn Guo <shawn.guo@...aro.org>
Acked-by: Wolfram Sang <w.sang@...gutronix.de>
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists