linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: haojian.zhuang@gmail.com (Haojian Zhuang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: pxa: Include linux/export.h in balloon3.c
Date: Thu, 22 Dec 2011 16:24:31 +0800	[thread overview]
Message-ID: <CAN1soZyNBXw2uOeTLUbZDBOjMMnHWyNwYWQ4Ku5MQVvpk55kFg@mail.gmail.com> (raw)
In-Reply-To: <1323482888.11437.1.camel@phoenix>

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

      reply	other threads:[~2011-12-22  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN1soZyNBXw2uOeTLUbZDBOjMMnHWyNwYWQ4Ku5MQVvpk55kFg@mail.gmail.com \
    --to=haojian.zhuang@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).