aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-05-12 03:12:20 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-05-12 03:12:20 -0400
commitf9b08c6d37ca5aa47de5b9e8a6bcf245a69c7bf1 (patch)
tree62b7f642ff5250cf65364fcc81cb17c70086ae9a /arch
parentd1e819e57b5211efcde9055949b58e8edd232222 (diff)
ARM: EXYNOS: Use common macro to define resources on mach-armlex4210.c
Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos/mach-armlex4210.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/arm/mach-exynos/mach-armlex4210.c b/arch/arm/mach-exynos/mach-armlex4210.c
index d726fcd3acf9..c612253c2eac 100644
--- a/arch/arm/mach-exynos/mach-armlex4210.c
+++ b/arch/arm/mach-exynos/mach-armlex4210.c
@@ -121,16 +121,9 @@ static void __init armlex4210_wlan_init(void)
121} 121}
122 122
123static struct resource armlex4210_smsc911x_resources[] = { 123static struct resource armlex4210_smsc911x_resources[] = {
124 [0] = { 124 [0] = DEFINE_RES_MEM(EXYNOS4_PA_SROM_BANK(3), SZ_64K),
125 .start = EXYNOS4_PA_SROM_BANK(3), 125 [1] = DEFINE_RES_NAMED(IRQ_EINT(27), 1, NULL, IORESOURCE_IRQ \
126 .end = EXYNOS4_PA_SROM_BANK(3) + SZ_64K - 1, 126 | IRQF_TRIGGER_HIGH),
127 .flags = IORESOURCE_MEM,
128 },
129 [1] = {
130 .start = IRQ_EINT(27),
131 .end = IRQ_EINT(27),
132 .flags = IORESOURCE_IRQ | IRQF_TRIGGER_HIGH,
133 },
134}; 127};
135 128
136static struct smsc911x_platform_config smsc9215_config = { 129static struct smsc911x_platform_config smsc9215_config = {