ARM: EXYNOS: Use common macro to define resources on mach-smdkv310.c

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Tushar Behera 2012-05-12 16:12:20 +09:00 committed by Kukjin Kim
parent f9b08c6d37
commit f7f145e7db
1 changed files with 3 additions and 10 deletions

View File

@ -183,16 +183,9 @@ static struct s3c_fb_platdata smdkv310_lcd0_pdata __initdata = {
}; };
static struct resource smdkv310_smsc911x_resources[] = { static struct resource smdkv310_smsc911x_resources[] = {
[0] = { [0] = DEFINE_RES_MEM(EXYNOS4_PA_SROM_BANK(1), SZ_64K),
.start = EXYNOS4_PA_SROM_BANK(1), [1] = DEFINE_RES_NAMED(IRQ_EINT(5), 1, NULL, IORESOURCE_IRQ \
.end = EXYNOS4_PA_SROM_BANK(1) + SZ_64K - 1, | IRQF_TRIGGER_LOW),
.flags = IORESOURCE_MEM,
},
[1] = {
.start = IRQ_EINT(5),
.end = IRQ_EINT(5),
.flags = IORESOURCE_IRQ | IRQF_TRIGGER_LOW,
},
}; };
static struct smsc911x_platform_config smsc9215_config = { static struct smsc911x_platform_config smsc9215_config = {