diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 03:12:21 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 03:12:21 -0400 |
commit | d990e3986d355b7694829baa57a71abdaad1ab84 (patch) | |
tree | 406cfe56b2f69b0aa62a2c981c6ef6beb167ceba /arch/arm/mach-s3c24xx/mach-at2440evb.c | |
parent | d1c14938b78e80cfd7323432e06b75bbaef2a1f9 (diff) |
ARM: S3C24XX: Use common macro to define resources on mach-at2440evb.c
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/mach-at2440evb.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-at2440evb.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-at2440evb.c b/arch/arm/mach-s3c24xx/mach-at2440evb.c index d7ae49c90118..7a05abf1270b 100644 --- a/arch/arm/mach-s3c24xx/mach-at2440evb.c +++ b/arch/arm/mach-s3c24xx/mach-at2440evb.c | |||
@@ -118,21 +118,10 @@ static struct s3c2410_platform_nand __initdata at2440evb_nand_info = { | |||
118 | /* DM9000AEP 10/100 ethernet controller */ | 118 | /* DM9000AEP 10/100 ethernet controller */ |
119 | 119 | ||
120 | static struct resource at2440evb_dm9k_resource[] = { | 120 | static struct resource at2440evb_dm9k_resource[] = { |
121 | [0] = { | 121 | [0] = DEFINE_RES_MEM(S3C2410_CS3, 4), |
122 | .start = S3C2410_CS3, | 122 | [1] = DEFINE_RES_MEM(S3C2410_CS3 + 4, 4), |
123 | .end = S3C2410_CS3 + 3, | 123 | [2] = DEFINE_RES_NAMED(IRQ_EINT7, 1, NULL, IORESOURCE_IRQ \ |
124 | .flags = IORESOURCE_MEM | 124 | | IORESOURCE_IRQ_HIGHEDGE), |
125 | }, | ||
126 | [1] = { | ||
127 | .start = S3C2410_CS3 + 4, | ||
128 | .end = S3C2410_CS3 + 7, | ||
129 | .flags = IORESOURCE_MEM | ||
130 | }, | ||
131 | [2] = { | ||
132 | .start = IRQ_EINT7, | ||
133 | .end = IRQ_EINT7, | ||
134 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, | ||
135 | } | ||
136 | }; | 125 | }; |
137 | 126 | ||
138 | static struct dm9000_plat_data at2440evb_dm9k_pdata = { | 127 | static struct dm9000_plat_data at2440evb_dm9k_pdata = { |