]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S3C24XX: Use common macro to define resources on mach-qt2410.c
authorTushar Behera <tushar.behera@linaro.org>
Sat, 12 May 2012 21:47:13 +0000 (06:47 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 12 May 2012 21:47:18 +0000 (06:47 +0900)
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>
arch/arm/mach-s3c24xx/mach-qt2410.c

index 91c16d9d2459935225b76ce09116c2e8874ab7b3..b868dddcb836c318d4315feeaaef1f37a5e851da 100644 (file)
@@ -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 = {