From 03f8f11abdffd756b508a84d063d8a1b0a34eead Mon Sep 17 00:00:00 2001 From: Tushar Behera Date: Sat, 12 May 2012 16:12:20 +0900 Subject: [PATCH] --- yaml --- r: 303087 b: refs/heads/master c: f9b08c6d37ca5aa47de5b9e8a6bcf245a69c7bf1 h: refs/heads/master i: 303085: ee3ab9d7bf1367abeb8b312fc298ad41261540ac 303083: 783a100a3b2f0d498c4e5c06b01fda6909e6b141 303079: 6898575275f1b1cc5ab0cb6453cb479d917d66ae 303071: 2ce23589eb3a56e8956a7a23066f5104899aeee9 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-exynos/mach-armlex4210.c | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/[refs] b/[refs] index 715be9ea64d6..e6cddcc70288 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d1e819e57b5211efcde9055949b58e8edd232222 +refs/heads/master: f9b08c6d37ca5aa47de5b9e8a6bcf245a69c7bf1 diff --git a/trunk/arch/arm/mach-exynos/mach-armlex4210.c b/trunk/arch/arm/mach-exynos/mach-armlex4210.c index d726fcd3acf9..c612253c2eac 100644 --- a/trunk/arch/arm/mach-exynos/mach-armlex4210.c +++ b/trunk/arch/arm/mach-exynos/mach-armlex4210.c @@ -121,16 +121,9 @@ static void __init armlex4210_wlan_init(void) } static struct resource armlex4210_smsc911x_resources[] = { - [0] = { - .start = EXYNOS4_PA_SROM_BANK(3), - .end = EXYNOS4_PA_SROM_BANK(3) + SZ_64K - 1, - .flags = IORESOURCE_MEM, - }, - [1] = { - .start = IRQ_EINT(27), - .end = IRQ_EINT(27), - .flags = IORESOURCE_IRQ | IRQF_TRIGGER_HIGH, - }, + [0] = DEFINE_RES_MEM(EXYNOS4_PA_SROM_BANK(3), SZ_64K), + [1] = DEFINE_RES_NAMED(IRQ_EINT(27), 1, NULL, IORESOURCE_IRQ \ + | IRQF_TRIGGER_HIGH), }; static struct smsc911x_platform_config smsc9215_config = {