aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/shannon.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-sa1100/shannon.c')
-rw-r--r--arch/arm/mach-sa1100/shannon.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-sa1100/shannon.c b/arch/arm/mach-sa1100/shannon.c
index c695b730bd69..77b2b9b522ac 100644
--- a/arch/arm/mach-sa1100/shannon.c
+++ b/arch/arm/mach-sa1100/shannon.c
@@ -48,11 +48,8 @@ static struct flash_platform_data shannon_flash_data = {
48 .nr_parts = ARRAY_SIZE(shannon_partitions), 48 .nr_parts = ARRAY_SIZE(shannon_partitions),
49}; 49};
50 50
51static struct resource shannon_flash_resource = { 51static struct resource shannon_flash_resource =
52 .start = SA1100_CS0_PHYS, 52 DEFINE_RES_MEM(SA1100_CS0_PHYS, SZ_4M);
53 .end = SA1100_CS0_PHYS + SZ_4M - 1,
54 .flags = IORESOURCE_MEM,
55};
56 53
57static struct mcp_plat_data shannon_mcp_data = { 54static struct mcp_plat_data shannon_mcp_data = {
58 .mccr0 = MCCR0_ADM, 55 .mccr0 = MCCR0_ADM,