]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/hi6220_dw_mmc.c
treewide: replace #include <asm/errno.h> with <linux/errno.h>
[u-boot] / drivers / mmc / hi6220_dw_mmc.c
index 731458c18c5630a382e533ae38f169ea713c5211..b0d063c6987ee34129f3f1698d1ecfae05eaf1ba 100644 (file)
@@ -48,7 +48,7 @@ int hi6220_dwmci_add_port(int index, u32 regbase, int bus_width)
                return -ENOMEM;
        }
 
-       host->ioaddr = (void *)regbase;
+       host->ioaddr = (void *)(ulong)regbase;
        host->buswidth = bus_width;
        host->bus_hz = MMC0_DEFAULT_FREQ;