linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: pxa: Include linux/export.h in balloon3.c
@ 2011-12-10  2:08 Axel Lin
  2011-12-22  8:24 ` Haojian Zhuang
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-12-10  2:08 UTC (permalink / raw)
  To: linux-arm-kernel

Include linux/export.h to fix below build warning:

  CC      arch/arm/mach-pxa/balloon3.o
arch/arm/mach-pxa/balloon3.c:85: warning: data definition has no type or storage class
arch/arm/mach-pxa/balloon3.c:85: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/arm/mach-pxa/balloon3.c:85: warning: parameter names (without types) in function declaration

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 arch/arm/mach-pxa/balloon3.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-pxa/balloon3.c b/arch/arm/mach-pxa/balloon3.c
index 5971c46..c35456f 100644
--- a/arch/arm/mach-pxa/balloon3.c
+++ b/arch/arm/mach-pxa/balloon3.c
@@ -13,6 +13,7 @@
  *  published by the Free Software Foundation.
  */
 
+#include <linux/export.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: pxa: Include linux/export.h in balloon3.c
  2011-12-10  2:08 [PATCH] ARM: pxa: Include linux/export.h in balloon3.c Axel Lin
@ 2011-12-22  8:24 ` Haojian Zhuang
  0 siblings, 0 replies; 2+ messages in thread
From: Haojian Zhuang @ 2011-12-22  8:24 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Dec 10, 2011 at 10:08 AM, Axel Lin <axel.lin@gmail.com> wrote:
> Include linux/export.h to fix below build warning:
>
> ?CC ? ? ?arch/arm/mach-pxa/balloon3.o
> arch/arm/mach-pxa/balloon3.c:85: warning: data definition has no type or storage class
> arch/arm/mach-pxa/balloon3.c:85: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
> arch/arm/mach-pxa/balloon3.c:85: warning: parameter names (without types) in function declaration
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> ?arch/arm/mach-pxa/balloon3.c | ? ?1 +
> ?1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/balloon3.c b/arch/arm/mach-pxa/balloon3.c
> index 5971c46..c35456f 100644
> --- a/arch/arm/mach-pxa/balloon3.c
> +++ b/arch/arm/mach-pxa/balloon3.c
> @@ -13,6 +13,7 @@
> ?* ?published by the Free Software Foundation.
> ?*/
>
> +#include <linux/export.h>
> ?#include <linux/init.h>
> ?#include <linux/platform_device.h>
> ?#include <linux/interrupt.h>
> --
> 1.7.5.4
>
>

Applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-22  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10  2:08 [PATCH] ARM: pxa: Include linux/export.h in balloon3.c Axel Lin
2011-12-22  8:24 ` Haojian Zhuang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).