diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 17:47:13 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 17:47:18 -0400 |
commit | 5fdbdd1d4b9ec58e51092e24c231a303b38cdb94 (patch) | |
tree | a875c4c03102e39be2a7a32171ee54515b787771 /arch/arm/mach-s3c24xx | |
parent | 5ff2714ae05b103d710fa7edbc6fb5d6f0f71beb (diff) |
ARM: S3C24XX: Use common macro to define resources on mach-qt2410.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')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-qt2410.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-qt2410.c b/arch/arm/mach-s3c24xx/mach-qt2410.c index 91c16d9d2459..b868dddcb836 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 = { | |||
180 | /* CS8900 */ | 180 | /* CS8900 */ |
181 | 181 | ||
182 | static struct resource qt2410_cs89x0_resources[] = { | 182 | static struct resource qt2410_cs89x0_resources[] = { |
183 | [0] = { | 183 | [0] = DEFINE_RES_MEM(0x19000000, 17), |
184 | .start = 0x19000000, | 184 | [1] = DEFINE_RES_IRQ(IRQ_EINT9), |
185 | .end = 0x19000000 + 16, | ||
186 | .flags = IORESOURCE_MEM, | ||
187 | }, | ||
188 | [1] = { | ||
189 | .start = IRQ_EINT9, | ||
190 | .end = IRQ_EINT9, | ||
191 | .flags = IORESOURCE_IRQ, | ||
192 | }, | ||
193 | }; | 185 | }; |
194 | 186 | ||
195 | static struct platform_device qt2410_cs89x0 = { | 187 | static struct platform_device qt2410_cs89x0 = { |