linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: festevam@gmail.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mx25: Fix build by providing MX25_IIM_BASE_ADDR definition
Date: Mon, 29 Aug 2011 23:21:08 -0300	[thread overview]
Message-ID: <1314670868-13457-1-git-send-email-festevam@gmail.com> (raw)

commit d27536c6 (ARM: mx25: Print silicon revision on boot) missed to include 
MX25_IIM_BASE_ADDR and caused the following build error:

  CC      arch/arm/mach-imx/cpu-imx25.o
arch/arm/mach-imx/cpu-imx25.c: In function 'mx25_read_cpu_rev':
arch/arm/mach-imx/cpu-imx25.c:23: error: 'MX25_IIM_BASE_ADDR' undeclared (first use in this function)
arch/arm/mach-imx/cpu-imx25.c:23: error: (Each undeclared identifier is reported only once
arch/arm/mach-imx/cpu-imx25.c:23: error: for each function it appears in.)
make[1]: *** [arch/arm/mach-imx/cpu-imx25.o] Error 1
make: *** [arch/arm/mach-imx] Error 2

Fix the build by providing the missing definition.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/plat-mxc/include/mach/mx25.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-mxc/include/mach/mx25.h b/arch/arm/plat-mxc/include/mach/mx25.h
index 8dcab80..ccebf5b 100644
--- a/arch/arm/plat-mxc/include/mach/mx25.h
+++ b/arch/arm/plat-mxc/include/mach/mx25.h
@@ -41,6 +41,7 @@
 #define MX25_SSI2_BASE_ADDR		0x50014000
 #define MX25_SSI1_BASE_ADDR		0x50034000
 #define MX25_NFC_BASE_ADDR		0xbb000000
+#define MX25_IIM_BASE_ADDR		0x53ff0000
 #define MX25_DRYICE_BASE_ADDR		0x53ffc000
 #define MX25_ESDHC1_BASE_ADDR		0x53fb4000
 #define MX25_ESDHC2_BASE_ADDR		0x53fb8000
-- 
1.6.0.4

             reply	other threads:[~2011-08-30  2:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30  2:21 Fabio Estevam [this message]
2011-08-30  2:49 ` [PATCH] ARM: mx25: Fix build by providing MX25_IIM_BASE_ADDR definition Jason Liu

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=1314670868-13457-1-git-send-email-festevam@gmail.com \
    --to=festevam@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).