[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAN1soZyNBXw2uOeTLUbZDBOjMMnHWyNwYWQ4Ku5MQVvpk55kFg@mail.gmail.com>
Date: Thu, 22 Dec 2011 16:24:31 +0800
From: Haojian Zhuang <haojian.zhuang@...il.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Eric Miao <eric.y.miao@...il.com>,
Russell King <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: pxa: Include linux/export.h in balloon3.c
On Sat, Dec 10, 2011 at 10:08 AM, Axel Lin <axel.lin@...il.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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists