diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 03:12:24 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 03:12:24 -0400 |
commit | 7498b72870ec8b7ec414c06e3b926fd05682bb18 (patch) | |
tree | 74c3cd7670ac4825f020cab37cd68f1383eaa3b9 /arch/arm/mach-s3c24xx | |
parent | 635a472675dccb8ddccda7517c795181992521f1 (diff) |
ARM: S3C24XX: Use common macro to define resources on mach-mini2440.c
Cc: Michel Pollet <buserror@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-s3c24xx')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-mini2440.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-mini2440.c b/arch/arm/mach-s3c24xx/mach-mini2440.c index 5d66fb218a41..f092b188ab70 100644 --- a/arch/arm/mach-s3c24xx/mach-mini2440.c +++ b/arch/arm/mach-s3c24xx/mach-mini2440.c | |||
@@ -292,21 +292,10 @@ static struct s3c2410_platform_nand mini2440_nand_info __initdata = { | |||
292 | /* DM9000AEP 10/100 ethernet controller */ | 292 | /* DM9000AEP 10/100 ethernet controller */ |
293 | 293 | ||
294 | static struct resource mini2440_dm9k_resource[] = { | 294 | static struct resource mini2440_dm9k_resource[] = { |
295 | [0] = { | 295 | [0] = DEFINE_RES_MEM(MACH_MINI2440_DM9K_BASE, 4), |
296 | .start = MACH_MINI2440_DM9K_BASE, | 296 | [1] = DEFINE_RES_MEM(MACH_MINI2440_DM9K_BASE + 4, 4), |
297 | .end = MACH_MINI2440_DM9K_BASE + 3, | 297 | [2] = DEFINE_RES_NAMED(IRQ_EINT7, 1, NULL, IORESOURCE_IRQ \ |
298 | .flags = IORESOURCE_MEM | 298 | | IORESOURCE_IRQ_HIGHEDGE), |
299 | }, | ||
300 | [1] = { | ||
301 | .start = MACH_MINI2440_DM9K_BASE + 4, | ||
302 | .end = MACH_MINI2440_DM9K_BASE + 7, | ||
303 | .flags = IORESOURCE_MEM | ||
304 | }, | ||
305 | [2] = { | ||
306 | .start = IRQ_EINT7, | ||
307 | .end = IRQ_EINT7, | ||
308 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, | ||
309 | } | ||
310 | }; | 299 | }; |
311 | 300 | ||
312 | /* | 301 | /* |