Re: [patch 5/5] TI OMAP driver

From: Tony Lindgren
Date: Fri Oct 21 2005 - 13:01:06 EST


Hi,

* Tony Lindgren <tony@xxxxxxxxxxx> [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;