aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-05-12 03:12:24 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-05-12 03:12:24 -0400
commit635a472675dccb8ddccda7517c795181992521f1 (patch)
treefac95224c52c68afc65061adae878cb81dff312c /arch/arm/mach-s3c24xx
parent1c2bf1d326c276e482a9ad99040fa108c85c0742 (diff)
ARM: S3C24XX: Use common macro to define resources on mach-h1940.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-h1940.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c
index 6b21ba107eab..bb8d008d5a5c 100644
--- a/arch/arm/mach-s3c24xx/mach-h1940.c
+++ b/arch/arm/mach-s3c24xx/mach-h1940.c
@@ -253,13 +253,8 @@ static struct pda_power_pdata power_supply_info = {
253}; 253};
254 254
255static struct resource power_supply_resources[] = { 255static struct resource power_supply_resources[] = {
256 [0] = { 256 [0] = DEFINE_RES_NAMED(IRQ_EINT2, 1, "ac", IORESOURCE_IRQ \
257 .name = "ac", 257 | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE),
258 .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE |
259 IORESOURCE_IRQ_HIGHEDGE,
260 .start = IRQ_EINT2,
261 .end = IRQ_EINT2,
262 },
263}; 258};
264 259
265static struct platform_device power_supply = { 260static struct platform_device power_supply = {