diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 03:12:20 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 03:12:20 -0400 |
commit | 7d4aa909c8f5557980733b644ed66b067a669bc0 (patch) | |
tree | 7763e58da5c139febb14a5e5b92bfe64f980d07b /arch/arm/mach-s3c24xx | |
parent | 16b742f59c6388218a2361f3a7c10966d13cbe08 (diff) |
ARM: S3C24XX: Use common macro to define resources on mach-amlm5900.c
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-amlm5900.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-amlm5900.c b/arch/arm/mach-s3c24xx/mach-amlm5900.c index 4220cc60de3c..ea2c4b003d58 100644 --- a/arch/arm/mach-s3c24xx/mach-amlm5900.c +++ b/arch/arm/mach-s3c24xx/mach-amlm5900.c | |||
@@ -65,13 +65,8 @@ | |||
65 | 65 | ||
66 | #include "common.h" | 66 | #include "common.h" |
67 | 67 | ||
68 | static struct resource amlm5900_nor_resource = { | 68 | static struct resource amlm5900_nor_resource = |
69 | .start = 0x00000000, | 69 | DEFINE_RES_MEM(0x00000000, SZ_16M); |
70 | .end = 0x01000000 - 1, | ||
71 | .flags = IORESOURCE_MEM, | ||
72 | }; | ||
73 | |||
74 | |||
75 | 70 | ||
76 | static struct mtd_partition amlm5900_mtd_partitions[] = { | 71 | static struct mtd_partition amlm5900_mtd_partitions[] = { |
77 | { | 72 | { |