diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-08-13 11:34:05 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-27 06:53:01 -0400 |
commit | a060656240af125b22b1c011944377ff4216ac3e (patch) | |
tree | 8abe2f0bb15b02d7dcb1d25b097588bd7857fb03 /arch/arm/plat-mxc/ehci.c | |
parent | 556cbdbf23fb43433dba9657ad194a36be18f81b (diff) |
ARM: imx: ehci: use void __iomem * to hold i/o addresses
This fixes:
arch/arm/plat-mxc/ehci.c: In function 'mxc_initialize_usb_hw':
arch/arm/plat-mxc/ehci.c:260: warning: assignment makes integer from pointer without a cast
arch/arm/plat-mxc/ehci.c:263: warning: assignment makes integer from pointer without a cast
arch/arm/plat-mxc/ehci.c:270: warning: assignment makes integer from pointer without a cast
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/ehci.c')
-rw-r--r-- | arch/arm/plat-mxc/ehci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/ehci.c b/arch/arm/plat-mxc/ehci.c index 35a064ff02ba..9915607683de 100644 --- a/arch/arm/plat-mxc/ehci.c +++ b/arch/arm/plat-mxc/ehci.c | |||
@@ -249,8 +249,8 @@ int mxc_initialize_usb_hw(int port, unsigned int flags) | |||
249 | #ifdef CONFIG_ARCH_MX51 | 249 | #ifdef CONFIG_ARCH_MX51 |
250 | if (cpu_is_mx51()) { | 250 | if (cpu_is_mx51()) { |
251 | void __iomem *usb_base; | 251 | void __iomem *usb_base; |
252 | u32 usbotg_base; | 252 | void __iomem *usbotg_base; |
253 | u32 usbother_base; | 253 | void __iomem *usbother_base; |
254 | int ret = 0; | 254 | int ret = 0; |
255 | 255 | ||
256 | usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K); | 256 | usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K); |