From: Tushar Behera Date: Sat, 12 May 2012 07:12:20 +0000 (+0900) Subject: ARM: S3C24XX: Use common macro to define resources on mach-amlm5900.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7d4aa909c8f5557980733b644ed66b067a669bc0;p=linux.git ARM: S3C24XX: Use common macro to define resources on mach-amlm5900.c Cc: Ben Dooks Signed-off-by: Tushar Behera Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s3c24xx/mach-amlm5900.c b/arch/arm/mach-s3c24xx/mach-amlm5900.c index 4220cc60de3c6..ea2c4b003d58d 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[] = { {