diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 03:12:30 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 03:12:30 -0400 |
commit | c858fd5fafc5dccf2186697bf9a1112906d905c7 (patch) | |
tree | d8858f8220277ce7b006d6d6fe5b834c9f705a81 /arch/arm/mach-s3c64xx | |
parent | ae03a33aefe3b734bcfea27610ef3c7b74583e5c (diff) |
ARM: S3C64XX: Use common macro to define resources on mach-smdk6410.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-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smdk6410.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c index d55bc96d9582..1ecd0485a9b6 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6410.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c | |||
@@ -182,16 +182,9 @@ static struct s3c_fb_platdata smdk6410_lcd_pdata __initdata = { | |||
182 | */ | 182 | */ |
183 | 183 | ||
184 | static struct resource smdk6410_smsc911x_resources[] = { | 184 | static struct resource smdk6410_smsc911x_resources[] = { |
185 | [0] = { | 185 | [0] = DEFINE_RES_MEM(S3C64XX_PA_XM0CSN1, SZ_64K), |
186 | .start = S3C64XX_PA_XM0CSN1, | 186 | [1] = DEFINE_RES_NAMED(S3C_EINT(10), 1, NULL, IORESOURCE_IRQ \ |
187 | .end = S3C64XX_PA_XM0CSN1 + SZ_64K - 1, | 187 | | IRQ_TYPE_LEVEL_LOW), |
188 | .flags = IORESOURCE_MEM, | ||
189 | }, | ||
190 | [1] = { | ||
191 | .start = S3C_EINT(10), | ||
192 | .end = S3C_EINT(10), | ||
193 | .flags = IORESOURCE_IRQ | IRQ_TYPE_LEVEL_LOW, | ||
194 | }, | ||
195 | }; | 188 | }; |
196 | 189 | ||
197 | static struct smsc911x_platform_config smdk6410_smsc911x_pdata = { | 190 | static struct smsc911x_platform_config smdk6410_smsc911x_pdata = { |