lkml.org 
[lkml]   [2005]   [Oct]   [21]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateFri, 21 Oct 2005 21:00:28 +0300
FromTony Lindgren <>
SubjectRe: [patch 5/5] TI OMAP driver
Hi,

* Tony Lindgren <tony@atomide.com> [051021 19:38]:
> 
> Cool, works on OMAP OSK after renaming the function above.

Looks like the following __iomem patch is needed for this to
work on OMAP H4.

At least these two compilers get confused without the following
patch:

arm-xscale-linux-gnu-gcc (GCC) 3.4.4
gcc version 3.4.3 (release) (CodeSourcery ARM Q1B 2005)

Regards,

Tony

--- a/drivers/char/rng/omap-rng.c
+++ b/drivers/char/rng/omap-rng.c
@@ -51,7 +51,7 @@
 #define RNG_SYSSTATUS		0x44		/* System status
 							[0] = RESETDONE */
 
-static u32 __iomem *rng_base;
+static void __iomem *rng_base;
 static struct clk *rng_ick;
 static struct device *rng_dev;
 
\
 
 \ /
  Last update: 2005-10-21 18:03    [W:3.220 / U:0.310 seconds]
©2003-2008 Jasper Spaans