diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-h1940.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-h1940.c | 9 |
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 | ||
255 | static struct resource power_supply_resources[] = { | 255 | static 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 | ||
265 | static struct platform_device power_supply = { | 260 | static struct platform_device power_supply = { |