linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm/imx: add missing include of asm/exception.h for avic.c
Date: Fri, 21 Oct 2011 10:33:00 +0800	[thread overview]
Message-ID: <1319164380-23517-1-git-send-email-shawn.guo@linaro.org> (raw)

It adds missing include of asm/exception.h for avic.c to fix the
compile error below.

  arch/arm/plat-mxc/avic.c:154:39: error: expected ?=?, ?,?, ?;?,
  ?asm? or ?__attribute__? before ?avic_handle_irq?

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
Arnd,

I hit this error when building imx6q on your for-next branch.

 arch/arm/plat-mxc/avic.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-mxc/avic.c b/arch/arm/plat-mxc/avic.c
index 8875fb4..3157691 100644
--- a/arch/arm/plat-mxc/avic.c
+++ b/arch/arm/plat-mxc/avic.c
@@ -21,6 +21,7 @@
 #include <linux/irq.h>
 #include <linux/io.h>
 #include <mach/common.h>
+#include <asm/exception.h>
 #include <asm/mach/irq.h>
 #include <mach/hardware.h>
 
-- 
1.7.4.1

             reply	other threads:[~2011-10-21  2:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21  2:33 Shawn Guo [this message]
2011-10-21  7:22 ` [PATCH] arm/imx: add missing include of asm/exception.h for avic.c Uwe Kleine-König
2011-10-21 16:38   ` Arnd Bergmann
2011-10-21 18:07     ` Sascha Hauer

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=1319164380-23517-1-git-send-email-shawn.guo@linaro.org \
    --to=shawn.guo@linaro.org \
    --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).