diff options
author | Luotao Fu <l.fu@pengutronix.de> | 2008-09-09 10:19:43 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-09-09 12:13:53 +0200 |
commit | defa8c309d280915a2e7f4451f70bcbb087088a3 (patch) | |
tree | e7c6e63db7a8e4816f5b91289aaf9741033e60e8 /arch/arm/plat-mxc/include/mach/clock.h | |
parent | 8b0171fad1db5c9a5b315f4a11e65da45fbd6f21 (diff) |
i.MX3: Fix compiler warnings
Fix some base address declaration by adding a cast.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/clock.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/clock.h b/arch/arm/plat-mxc/include/mach/clock.h index 24caa2b7c91..d21f78e7881 100644 --- a/arch/arm/plat-mxc/include/mach/clock.h +++ b/arch/arm/plat-mxc/include/mach/clock.h @@ -39,7 +39,7 @@ struct clk { /* Register bit position for clock's enable/disable control. */ u8 enable_shift; /* Register address for clock's enable/disable control. */ - u32 enable_reg; + void __iomem *enable_reg; u32 flags; /* get the current clock rate (always a fresh value) */ unsigned long (*get_rate) (struct clk *); |