lkml.org 
[lkml]   [2005]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 20:03    [from the cache]
©2003-2011 Jasper Spaans