From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [rfc/rft/patch 8/9] arm: omap: perseus: kill compile warning on board-perseus2.c Date: Tue, 1 Dec 2009 07:52:56 -0800 Message-ID: <20091201155256.GE4348@atomide.com> References: <1259672635-12306-1-git-send-email-felipe.balbi@nokia.com> <1259672635-12306-9-git-send-email-felipe.balbi@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:62488 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753025AbZLAPww (ORCPT ); Tue, 1 Dec 2009 10:52:52 -0500 Content-Disposition: inline In-Reply-To: <1259672635-12306-9-git-send-email-felipe.balbi@nokia.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Felipe Balbi Cc: linux-omap@vger.kernel.org, Santosh Shilimkar , Kevin Hilman , Kalle Valo , Jean Pihet , Vikram Pandita , Paul Walmsley , Hiroshi DOYU , David Brownell * Felipe Balbi [091201 05:03]: > 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 > --- > arch/arm/plat-omap/include/plat/fpga.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/plat-omap/include/plat/fpga.h b/arch/arm/plat-omap/include/plat/fpga.h > index 87a87d2..d66164d 100644 > --- a/arch/arm/plat-omap/include/plat/fpga.h > +++ b/arch/arm/plat-omap/include/plat/fpga.h > @@ -34,7 +34,7 @@ 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 */ The IOMEM should be moved here too to H2P2_DBG_FPGA_START. Tony