diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 03:12:25 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 03:12:25 -0400 |
commit | 5f3b90dcc0f0dec654112d28c5a07ef47ad61d0f (patch) | |
tree | a969690480924e5b1d7137a6dc0e1b4e275dc538 /arch/arm/mach-s3c24xx | |
parent | e21be38afa835e6a58d88c46eb88720e4a444ed8 (diff) |
ARM: S3C24XX: Use common macro to define resources on mach-rx1950.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')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-rx1950.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-rx1950.c b/arch/arm/mach-s3c24xx/mach-rx1950.c index 200debb4c72d..a6762aae4727 100644 --- a/arch/arm/mach-s3c24xx/mach-rx1950.c +++ b/arch/arm/mach-s3c24xx/mach-rx1950.c | |||
@@ -152,13 +152,8 @@ static struct pda_power_pdata power_supply_info = { | |||
152 | }; | 152 | }; |
153 | 153 | ||
154 | static struct resource power_supply_resources[] = { | 154 | static struct resource power_supply_resources[] = { |
155 | [0] = { | 155 | [0] = DEFINE_RES_NAMED(IRQ_EINT2, 1, "ac", IORESOURCE_IRQ \ |
156 | .name = "ac", | 156 | | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE), |
157 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE | | ||
158 | IORESOURCE_IRQ_HIGHEDGE, | ||
159 | .start = IRQ_EINT2, | ||
160 | .end = IRQ_EINT2, | ||
161 | }, | ||
162 | }; | 157 | }; |
163 | 158 | ||
164 | static struct platform_device power_supply = { | 159 | static struct platform_device power_supply = { |