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
commitf7f145e7db2b85916a97e60ebfb2d48526a65cb6 (patch)
tree0caa2523c71e5f8e5747d4acd792f074b84f135a /arch
parentf9b08c6d37ca5aa47de5b9e8a6bcf245a69c7bf1 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos/mach-smdkv310.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c
index 83b91fa777c1..ecf0b62a73da 100644
--- a/arch/arm/mach-exynos/mach-smdkv310.c
+++ b/arch/arm/mach-exynos/mach-smdkv310.c
@@ -183,16 +183,9 @@ static struct s3c_fb_platdata smdkv310_lcd0_pdata __initdata = {
183}; 183};
184 184
185static struct resource smdkv310_smsc911x_resources[] = { 185static struct resource smdkv310_smsc911x_resources[] = {
186 [0] = { 186 [0] = DEFINE_RES_MEM(EXYNOS4_PA_SROM_BANK(1), SZ_64K),
187 .start = EXYNOS4_PA_SROM_BANK(1), 187 [1] = DEFINE_RES_NAMED(IRQ_EINT(5), 1, NULL, IORESOURCE_IRQ \
188 .end = EXYNOS4_PA_SROM_BANK(1) + SZ_64K - 1, 188 | IRQF_TRIGGER_LOW),
189 .flags = IORESOURCE_MEM,
190 },
191 [1] = {
192 .start = IRQ_EINT(5),
193 .end = IRQ_EINT(5),
194 .flags = IORESOURCE_IRQ | IRQF_TRIGGER_LOW,
195 },
196}; 189};
197 190
198static struct smsc911x_platform_config smsc9215_config = { 191static struct smsc911x_platform_config smsc9215_config = {