summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/mach-amlm5900.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-05-12 11:12:20 +0400
committerKukjin Kim <kgene.kim@samsung.com>2012-05-12 11:12:20 +0400
commit7d4aa909c8f5557980733b644ed66b067a669bc0 (patch)
tree7763e58da5c139febb14a5e5b92bfe64f980d07b /arch/arm/mach-s3c24xx/mach-amlm5900.c
parent16b742f59c6388218a2361f3a7c10966d13cbe08 (diff)
downloadlinux-7d4aa909c8f5557980733b644ed66b067a669bc0.tar.xz
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/mach-amlm5900.c')
-rw-r--r--arch/arm/mach-s3c24xx/mach-amlm5900.c9
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 @@
#include "common.h"
-static struct resource amlm5900_nor_resource = {
- .start = 0x00000000,
- .end = 0x01000000 - 1,
- .flags = IORESOURCE_MEM,
-};
-
-
+static struct resource amlm5900_nor_resource =
+ DEFINE_RES_MEM(0x00000000, SZ_16M);
static struct mtd_partition amlm5900_mtd_partitions[] = {
{