]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-iop13xx/setup.c
[ARM] Convert asm/io.h to linux/io.h
[linux-2.6-omap-h63xx.git] / arch / arm / mach-iop13xx / setup.c
index bfe0c87e33976e96fad4f673fc3ca334d5dcbf81..cfd4d2e6dacd6d1f7fb235c84c98552c99347a0e 100644 (file)
  */
 
 #include <linux/serial_8250.h>
+#include <linux/io.h>
 #ifdef CONFIG_MTD_PHYSMAP
 #include <linux/mtd/physmap.h>
 #endif
 #include <asm/mach/map.h>
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 #include <asm/irq.h>
-#include <asm/io.h>
 #include <asm/hardware/iop_adma.h>
 
 #define IOP13XX_UART_XTAL 33334000
@@ -519,7 +519,7 @@ void __init iop13xx_platform_init(void)
        if (iq8134x_flash_resource.end > iq8134x_flash_resource.start)
                iop13xx_devices[plat_idx++] = &iq8134x_flash;
        else
-               printk(KERN_ERR "%s: Failed to probe flash size\n", __FUNCTION__);
+               printk(KERN_ERR "%s: Failed to probe flash size\n", __func__);
 #endif
 
        platform_add_devices(iop13xx_devices, plat_idx);