aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-05-12 03:12:29 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-05-12 03:12:29 -0400
commitae03a33aefe3b734bcfea27610ef3c7b74583e5c (patch)
tree5005824e193c8e0c336b10a6e9040aadcc5a11b7 /arch/arm/mach-s3c64xx
parentbc4521d394a55cc2dcca3f208c30d6760c8c7eeb (diff)
ARM: S3C64XX: Use common macro to define resources on mach-real6410.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-real6410.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-real6410.c b/arch/arm/mach-s3c64xx/mach-real6410.c
index be2a9a22ab74..5c08266cea21 100644
--- a/arch/arm/mach-s3c64xx/mach-real6410.c
+++ b/arch/arm/mach-s3c64xx/mach-real6410.c
@@ -86,21 +86,10 @@ static struct s3c2410_uartcfg real6410_uartcfgs[] __initdata = {
86/* DM9000AEP 10/100 ethernet controller */ 86/* DM9000AEP 10/100 ethernet controller */
87 87
88static struct resource real6410_dm9k_resource[] = { 88static struct resource real6410_dm9k_resource[] = {
89 [0] = { 89 [0] = DEFINE_RES_MEM(S3C64XX_PA_XM0CSN1, 2),
90 .start = S3C64XX_PA_XM0CSN1, 90 [1] = DEFINE_RES_MEM(S3C64XX_PA_XM0CSN1 + 4, 2),
91 .end = S3C64XX_PA_XM0CSN1 + 1, 91 [2] = DEFINE_RES_NAMED(S3C_EINT(7), 1, NULL, IORESOURCE_IRQ \
92 .flags = IORESOURCE_MEM 92 | IORESOURCE_IRQ_HIGHLEVEL),
93 },
94 [1] = {
95 .start = S3C64XX_PA_XM0CSN1 + 4,
96 .end = S3C64XX_PA_XM0CSN1 + 5,
97 .flags = IORESOURCE_MEM
98 },
99 [2] = {
100 .start = S3C_EINT(7),
101 .end = S3C_EINT(7),
102 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL
103 }
104}; 93};
105 94
106static struct dm9000_plat_data real6410_dm9k_pdata = { 95static struct dm9000_plat_data real6410_dm9k_pdata = {