From: Tushar Behera Date: Sat, 12 May 2012 21:47:07 +0000 (+0900) Subject: ARM: S3C24XX: Use common macro to define resources on mach-osiris.c X-Git-Tag: v3.5-rc1~156^2~3^2^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ff2714ae05b103d710fa7edbc6fb5d6f0f71beb;p=thirdparty%2Fkernel%2Flinux.git ARM: S3C24XX: Use common macro to define resources on mach-osiris.c Cc: Ben Dooks Signed-off-by: Tushar Behera Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s3c24xx/mach-osiris.c b/arch/arm/mach-s3c24xx/mach-osiris.c index c5daeb612a88a..95d0772550249 100644 --- a/arch/arm/mach-s3c24xx/mach-osiris.c +++ b/arch/arm/mach-s3c24xx/mach-osiris.c @@ -244,16 +244,8 @@ static struct s3c2410_platform_nand __initdata osiris_nand_info = { /* PCMCIA control and configuration */ static struct resource osiris_pcmcia_resource[] = { - [0] = { - .start = 0x0f000000, - .end = 0x0f100000, - .flags = IORESOURCE_MEM, - }, - [1] = { - .start = 0x0c000000, - .end = 0x0c100000, - .flags = IORESOURCE_MEM, - } + [0] = DEFINE_RES_MEM(0x0f000000, SZ_1M), + [1] = DEFINE_RES_MEM(0x0c000000, SZ_1M), }; static struct platform_device osiris_pcmcia = {