Skip to content

Commit

Permalink
ARM: imx: ehci: use void __iomem * to hold i/o addresses
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König committed Sep 27, 2010
1 parent 556cbdb commit a060656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/plat-mxc/ehci.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ int mxc_initialize_usb_hw(int port, unsigned int flags)
#ifdef CONFIG_ARCH_MX51
if (cpu_is_mx51()) {
void __iomem *usb_base;
u32 usbotg_base;
u32 usbother_base;
void __iomem *usbotg_base;
void __iomem *usbother_base;
int ret = 0;

usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
Expand Down

0 comments on commit a060656

Please sign in to comment.