public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7/9] arm: omap: innovator: kill compile warning on board-innovator.c
@ 2009-12-01 18:28 Felipe Balbi
  2009-12-02  0:09 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Felipe Balbi @ 2009-12-01 18:28 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, Felipe Balbi

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>
---
Is this what you mean ??

 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 f1864a6..db2af50 100644
--- a/arch/arm/plat-omap/include/plat/fpga.h
+++ b/arch/arm/plat-omap/include/plat/fpga.h
@@ -85,9 +85,9 @@ struct h2p2_dbg_fpga {
  *  OMAP-1510 FPGA
  * ---------------------------------------------------------------------------
  */
-#define OMAP1510_FPGA_BASE		IOMEM(0xE8000000)	/* VA */
+#define OMAP1510_FPGA_BASE		0xE8000000		/* VA */
 #define OMAP1510_FPGA_SIZE		SZ_4K
-#define OMAP1510_FPGA_START		0x08000000		/* PA */
+#define OMAP1510_FPGA_START		IOMEM(0x08000000)	/* PA */
 
 /* Revision */
 #define OMAP1510_FPGA_REV_LOW			(OMAP1510_FPGA_BASE + 0x0)
-- 
1.6.6.rc0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 7/9] arm: omap: innovator: kill compile warning on board-innovator.c
  2009-12-01 18:28 [PATCH 7/9] arm: omap: innovator: kill compile warning on board-innovator.c Felipe Balbi
@ 2009-12-02  0:09 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2009-12-02  0:09 UTC (permalink / raw)
  To: Felipe Balbi; +Cc: linux-omap

* Felipe Balbi <felipe.balbi@nokia.com> [091201 10:28]:
> 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>
> ---
> Is this what you mean ??

Yeah, thanks!

Tony
 
>  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 f1864a6..db2af50 100644
> --- a/arch/arm/plat-omap/include/plat/fpga.h
> +++ b/arch/arm/plat-omap/include/plat/fpga.h
> @@ -85,9 +85,9 @@ struct h2p2_dbg_fpga {
>   *  OMAP-1510 FPGA
>   * ---------------------------------------------------------------------------
>   */
> -#define OMAP1510_FPGA_BASE		IOMEM(0xE8000000)	/* VA */
> +#define OMAP1510_FPGA_BASE		0xE8000000		/* VA */
>  #define OMAP1510_FPGA_SIZE		SZ_4K
> -#define OMAP1510_FPGA_START		0x08000000		/* PA */
> +#define OMAP1510_FPGA_START		IOMEM(0x08000000)	/* PA */
>  
>  /* Revision */
>  #define OMAP1510_FPGA_REV_LOW			(OMAP1510_FPGA_BASE + 0x0)
> -- 
> 1.6.6.rc0
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-02  0:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 18:28 [PATCH 7/9] arm: omap: innovator: kill compile warning on board-innovator.c Felipe Balbi
2009-12-02  0:09 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox