diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/nslu2-setup.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/nslu2-setup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-ixp4xx/nslu2-setup.c b/arch/arm/mach-ixp4xx/nslu2-setup.c index ba5f1cda2a9d..88c025f52d8d 100644 --- a/arch/arm/mach-ixp4xx/nslu2-setup.c +++ b/arch/arm/mach-ixp4xx/nslu2-setup.c | |||
@@ -265,16 +265,14 @@ static void __init nslu2_init(void) | |||
265 | pm_power_off = nslu2_power_off; | 265 | pm_power_off = nslu2_power_off; |
266 | 266 | ||
267 | if (request_irq(gpio_to_irq(NSLU2_RB_GPIO), &nslu2_reset_handler, | 267 | if (request_irq(gpio_to_irq(NSLU2_RB_GPIO), &nslu2_reset_handler, |
268 | IRQF_DISABLED | IRQF_TRIGGER_LOW, | 268 | IRQF_TRIGGER_LOW, "NSLU2 reset button", NULL) < 0) { |
269 | "NSLU2 reset button", NULL) < 0) { | ||
270 | 269 | ||
271 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", | 270 | printk(KERN_DEBUG "Reset Button IRQ %d not available\n", |
272 | gpio_to_irq(NSLU2_RB_GPIO)); | 271 | gpio_to_irq(NSLU2_RB_GPIO)); |
273 | } | 272 | } |
274 | 273 | ||
275 | if (request_irq(gpio_to_irq(NSLU2_PB_GPIO), &nslu2_power_handler, | 274 | if (request_irq(gpio_to_irq(NSLU2_PB_GPIO), &nslu2_power_handler, |
276 | IRQF_DISABLED | IRQF_TRIGGER_HIGH, | 275 | IRQF_TRIGGER_HIGH, "NSLU2 power button", NULL) < 0) { |
277 | "NSLU2 power button", NULL) < 0) { | ||
278 | 276 | ||
279 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", | 277 | printk(KERN_DEBUG "Power Button IRQ %d not available\n", |
280 | gpio_to_irq(NSLU2_PB_GPIO)); | 278 | gpio_to_irq(NSLU2_PB_GPIO)); |