diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 03:12:26 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 03:12:26 -0400 |
commit | bc4521d394a55cc2dcca3f208c30d6760c8c7eeb (patch) | |
tree | 19343d7615be21a0992b1ab04383305ea11fdfc0 /arch/arm/mach-s3c64xx | |
parent | 8ebf148a6807c8a2c5a013b72fc834b739cc85be (diff) |
ARM: S3C64XX: Use common macro to define resources on mach-mini6410.c
Cc: Darius Augulis <augulis.darius@gmail.com>
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-mini6410.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b/arch/arm/mach-s3c64xx/mach-mini6410.c index c34c2ab22ead..b2166d4a5538 100644 --- a/arch/arm/mach-s3c64xx/mach-mini6410.c +++ b/arch/arm/mach-s3c64xx/mach-mini6410.c | |||
@@ -85,21 +85,10 @@ static struct s3c2410_uartcfg mini6410_uartcfgs[] __initdata = { | |||
85 | /* DM9000AEP 10/100 ethernet controller */ | 85 | /* DM9000AEP 10/100 ethernet controller */ |
86 | 86 | ||
87 | static struct resource mini6410_dm9k_resource[] = { | 87 | static struct resource mini6410_dm9k_resource[] = { |
88 | [0] = { | 88 | [0] = DEFINE_RES_MEM(S3C64XX_PA_XM0CSN1, 2), |
89 | .start = S3C64XX_PA_XM0CSN1, | 89 | [1] = DEFINE_RES_MEM(S3C64XX_PA_XM0CSN1 + 4, 2), |
90 | .end = S3C64XX_PA_XM0CSN1 + 1, | 90 | [2] = DEFINE_RES_NAMED(S3C_EINT(7), 1, NULL, IORESOURCE_IRQ \ |
91 | .flags = IORESOURCE_MEM | 91 | | IORESOURCE_IRQ_HIGHLEVEL), |
92 | }, | ||
93 | [1] = { | ||
94 | .start = S3C64XX_PA_XM0CSN1 + 4, | ||
95 | .end = S3C64XX_PA_XM0CSN1 + 5, | ||
96 | .flags = IORESOURCE_MEM | ||
97 | }, | ||
98 | [2] = { | ||
99 | .start = S3C_EINT(7), | ||
100 | .end = S3C_EINT(7), | ||
101 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL | ||
102 | } | ||
103 | }; | 92 | }; |
104 | 93 | ||
105 | static struct dm9000_plat_data mini6410_dm9k_pdata = { | 94 | static struct dm9000_plat_data mini6410_dm9k_pdata = { |