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 | 178e712601be883040abfca9186d969bb5c427f8 (patch) | |
tree | ed78d276e6935c94f0fe4252a7b8e53b991f7c42 /arch/arm/mach-s3c64xx/mach-anw6410.c | |
parent | 99c7165c2f60a89d7281ec3c8684e8e97365d5ff (diff) |
ARM: S3C64XX: Use common macro to define resources on mach-anw6410.c
Cc: Kwangwoo Lee <kwangwoo.lee@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/mach-anw6410.c')
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-anw6410.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-anw6410.c b/arch/arm/mach-s3c64xx/mach-anw6410.c index b86f2779e4e6..f252691fb209 100644 --- a/arch/arm/mach-s3c64xx/mach-anw6410.c +++ b/arch/arm/mach-s3c64xx/mach-anw6410.c | |||
@@ -165,21 +165,10 @@ static void __init anw6410_dm9000_enable(void) | |||
165 | } | 165 | } |
166 | 166 | ||
167 | static struct resource anw6410_dm9000_resource[] = { | 167 | static struct resource anw6410_dm9000_resource[] = { |
168 | [0] = { | 168 | [0] = DEFINE_RES_MEM(ANW6410_PA_DM9000, 4), |
169 | .start = ANW6410_PA_DM9000, | 169 | [1] = DEFINE_RES_MEM(ANW6410_PA_DM9000 + 4, 501), |
170 | .end = ANW6410_PA_DM9000 + 3, | 170 | [2] = DEFINE_RES_NAMED(IRQ_EINT(15), 1, NULL, IORESOURCE_IRQ \ |
171 | .flags = IORESOURCE_MEM, | 171 | | IRQF_TRIGGER_HIGH), |
172 | }, | ||
173 | [1] = { | ||
174 | .start = ANW6410_PA_DM9000 + 4, | ||
175 | .end = ANW6410_PA_DM9000 + 4 + 500, | ||
176 | .flags = IORESOURCE_MEM, | ||
177 | }, | ||
178 | [2] = { | ||
179 | .start = IRQ_EINT(15), | ||
180 | .end = IRQ_EINT(15), | ||
181 | .flags = IORESOURCE_IRQ | IRQF_TRIGGER_HIGH, | ||
182 | }, | ||
183 | }; | 172 | }; |
184 | 173 | ||
185 | static struct dm9000_plat_data anw6410_dm9000_pdata = { | 174 | static struct dm9000_plat_data anw6410_dm9000_pdata = { |