]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: imx: ehci: use void __iomem * to hold i/o addresses
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 13 Aug 2010 15:34:05 +0000 (17:34 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 27 Sep 2010 10:53:01 +0000 (12:53 +0200)
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>
arch/arm/plat-mxc/ehci.c

index 35a064ff02ba61a66b4f0425728baa4b7f74cda6..9915607683de39e08d1145b115bd289fec360da2 100644 (file)
@@ -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);