From: Tushar Behera Date: Sat, 12 May 2012 21:47:13 +0000 (+0900) Subject: ARM: S3C24XX: Use common macro to define resources on mach-qt2410.c X-Git-Tag: v3.5-rc1~156^2~3^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fdbdd1d4b9ec58e51092e24c231a303b38cdb94;p=profile%2Fivi%2Fkernel-x86-ivi.git ARM: S3C24XX: Use common macro to define resources on mach-qt2410.c Cc: Ben Dooks Signed-off-by: Tushar Behera Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s3c24xx/mach-qt2410.c b/arch/arm/mach-s3c24xx/mach-qt2410.c index 91c16d9..b868ddd 100644 --- a/arch/arm/mach-s3c24xx/mach-qt2410.c +++ b/arch/arm/mach-s3c24xx/mach-qt2410.c @@ -180,16 +180,8 @@ static struct s3c2410fb_mach_info qt2410_fb_info __initdata = { /* CS8900 */ static struct resource qt2410_cs89x0_resources[] = { - [0] = { - .start = 0x19000000, - .end = 0x19000000 + 16, - .flags = IORESOURCE_MEM, - }, - [1] = { - .start = IRQ_EINT9, - .end = IRQ_EINT9, - .flags = IORESOURCE_IRQ, - }, + [0] = DEFINE_RES_MEM(0x19000000, 17), + [1] = DEFINE_RES_IRQ(IRQ_EINT9), }; static struct platform_device qt2410_cs89x0 = {