]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-sa1100/simpad.c
Merge branch 'sa11x0-mcp' into sa11x0
[~andy/linux] / arch / arm / mach-sa1100 / simpad.c
index 81506562ee26e6514138b79d09964a544ef779e9..3da4c1f11cf59cab0a965047b99fcb632d6286dd 100644 (file)
@@ -177,15 +177,8 @@ static struct flash_platform_data simpad_flash_data = {
 
 
 static struct resource simpad_flash_resources [] = {
-       {
-               .start     = SA1100_CS0_PHYS,
-               .end       = SA1100_CS0_PHYS + SZ_16M -1,
-               .flags     = IORESOURCE_MEM,
-       }, {
-               .start     = SA1100_CS1_PHYS,
-               .end       = SA1100_CS1_PHYS + SZ_16M -1,
-               .flags     = IORESOURCE_MEM,
-       }
+       DEFINE_RES_MEM(SA1100_CS0_PHYS, SZ_16M),
+       DEFINE_RES_MEM(SA1100_CS1_PHYS, SZ_16M),
 };
 
 static struct ucb1x00_plat_data simpad_ucb1x00_data = {