All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <felipe.balbi@nokia.com>
To: tony@atomide.com
Cc: linux-omap@vger.kernel.org, Felipe Balbi <felipe.balbi@nokia.com>
Subject: [PATCH 8/9] arm: omap: perseus: kill compile warning on board-perseus2.c
Date: Tue,  1 Dec 2009 20:29:45 +0200	[thread overview]
Message-ID: <1259692185-17511-1-git-send-email-felipe.balbi@nokia.com> (raw)
In-Reply-To: <20091201155256.GE4348@atomide.com>

that address is used by struct map_desc, which expects
an unsigned long instead of a void __iomem *. Fix it.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
---
 arch/arm/plat-omap/include/plat/fpga.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/plat-omap/include/plat/fpga.h b/arch/arm/plat-omap/include/plat/fpga.h
index db2af50..99edbf8 100644
--- a/arch/arm/plat-omap/include/plat/fpga.h
+++ b/arch/arm/plat-omap/include/plat/fpga.h
@@ -34,9 +34,9 @@ extern void omap1510_fpga_init_irq(void);
  * ---------------------------------------------------------------------------
  */
 /* maps in the FPGA registers and the ETHR registers */
-#define H2P2_DBG_FPGA_BASE		IOMEM(0xE8000000)	/* VA */
+#define H2P2_DBG_FPGA_BASE		0xE8000000		/* VA */
 #define H2P2_DBG_FPGA_SIZE		SZ_4K			/* SIZE */
-#define H2P2_DBG_FPGA_START		0x04000000		/* PA */
+#define H2P2_DBG_FPGA_START		IOMEM(0x04000000)	/* PA */
 
 #define H2P2_DBG_FPGA_ETHR_START	(H2P2_DBG_FPGA_START + 0x300)
 #define H2P2_DBG_FPGA_FPGA_REV		(H2P2_DBG_FPGA_BASE + 0x10)	/* FPGA Revision */
-- 
1.6.6.rc0


  reply	other threads:[~2009-12-01 18:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01 13:03 [rfc/rft/patch 0/9] omap warning cleanup Felipe Balbi
2009-12-01 13:03 ` [rfc/rft/patch 1/9] arm: omap: kill compile warning in irq.c Felipe Balbi
2009-12-01 13:03 ` [rfc/rft/patch 2/9] arm: omap: remove unused variables Felipe Balbi
2009-12-01 13:03 ` [rfc/rft/patch 3/9] arm: omap: zoom: use vmmc1 regulator supply Felipe Balbi
2009-12-01 13:08   ` Gadiyar, Anand
2009-12-01 13:10     ` Felipe Balbi
2009-12-01 13:03 ` [rfc/rft/patch 4/9] arm: omap: io: kill compile warning Felipe Balbi
2010-01-05 21:02   ` Paul Walmsley
2009-12-01 13:03 ` [rfc/rft/patch 5/9] arm: omap: kill compile warning on board-4430-sdp.c Felipe Balbi
2009-12-01 13:03 ` [rfc/rft/patch 6/9] arm: omap: gpio: kill compile warning in gpio.c Felipe Balbi
2009-12-01 13:03 ` [rfc/rft/patch 7/9] arm: omap: innovator: kill compile warning on board-innovator.c Felipe Balbi
2009-12-01 15:52   ` Tony Lindgren
2009-12-01 13:03 ` [rfc/rft/patch 8/9] arm: omap: perseus: kill compile warning on board-perseus2.c Felipe Balbi
2009-12-01 15:52   ` Tony Lindgren
2009-12-01 18:29     ` Felipe Balbi [this message]
2009-12-01 13:03 ` [rfc/rft/patch 9/9] arm: omap: mailbox: kill compile warning in mailbox.c Felipe Balbi
2009-12-09  0:52 ` [rfc/rft/patch 0/9] omap warning cleanup Tony Lindgren

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=1259692185-17511-1-git-send-email-felipe.balbi@nokia.com \
    --to=felipe.balbi@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.