Commit a0606562 authored by Uwe Kleine-König's avatar Uwe Kleine-König

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent 556cbdbf
...@@ -249,8 +249,8 @@ int mxc_initialize_usb_hw(int port, unsigned int flags) ...@@ -249,8 +249,8 @@ int mxc_initialize_usb_hw(int port, unsigned int flags)
#ifdef CONFIG_ARCH_MX51 #ifdef CONFIG_ARCH_MX51
if (cpu_is_mx51()) { if (cpu_is_mx51()) {
void __iomem *usb_base; void __iomem *usb_base;
u32 usbotg_base; void __iomem *usbotg_base;
u32 usbother_base; void __iomem *usbother_base;
int ret = 0; int ret = 0;
usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K); usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment