]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-sa1100/pleb.c
Merge branches 'machtypes', 'core', 'ep93xx', 'ks8695', 'netdev' and 'sa1100' into...
[linux-2.6-omap-h63xx.git] / arch / arm / mach-sa1100 / pleb.c
index c7bf7e0038f07922bb294860ed75c284fbb1a811..e45d3a1890bcee7faaf6d23f406aa055726e4c10 100644 (file)
@@ -8,11 +8,10 @@
 #include <linux/ioport.h>
 #include <linux/platform_device.h>
 #include <linux/irq.h>
-
+#include <linux/io.h>
 #include <linux/mtd/partitions.h>
 
-#include <asm/hardware.h>
-#include <asm/io.h>
+#include <mach/hardware.h>
 #include <asm/setup.h>
 #include <asm/mach-types.h>
 
@@ -20,7 +19,7 @@
 #include <asm/mach/map.h>
 #include <asm/mach/flash.h>
 #include <asm/mach/serial_sa1100.h>
-#include <asm/arch/irqs.h>
+#include <mach/irqs.h>
 
 #include "generic.h"
 
@@ -39,8 +38,8 @@
 
 static struct resource smc91x_resources[] = {
        [0] = {
-               .start  =  PLEB_ETH0_P,
-               .end    =  PLEB_ETH0_P | 0x03ffffff,
+               .start  = PLEB_ETH0_P,
+               .end    = PLEB_ETH0_P | 0x03ffffff,
                .flags  = IORESOURCE_MEM,
        },
 #if 0 /* Autoprobe instead, to get rising/falling edge characteristic right */
@@ -87,15 +86,15 @@ static struct resource pleb_flash_resources[] = {
 static struct mtd_partition pleb_partitions[] = {
        {
                .name           = "blob",
-               .offset         = 0,
+               .offset         = 0,
                .size           = 0x00020000,
        }, {
                .name           = "kernel",
-               .offset         = MTDPART_OFS_APPEND,
+               .offset         = MTDPART_OFS_APPEND,
                .size           = 0x000e0000,
        }, {
                .name           = "rootfs",
-               .offset         = MTDPART_OFS_APPEND,
+               .offset         = MTDPART_OFS_APPEND,
                .size           = 0x00300000,
        }
 };
@@ -143,7 +142,7 @@ static void __init pleb_map_io(void)
 
        GPDR &= ~GPIO_ETH0_IRQ;
 
-       set_irq_type(GPIO_ETH0_IRQ, IRQT_FALLING);
+       set_irq_type(GPIO_ETH0_IRQ, IRQ_TYPE_EDGE_FALLING);
 }
 
 MACHINE_START(PLEB, "PLEB")