]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/cchips/hd6446x/hd64465/gpio.c
Fix nfsd truncation of readdir results
[linux-2.6-omap-h63xx.git] / arch / sh / cchips / hd6446x / hd64465 / gpio.c
index 9785fdef868ec87acb80d6f7d12eaa201dec803d..43431855ec86976874a0b4cf2c76305d10b42d5a 100644 (file)
@@ -85,7 +85,7 @@ static struct {
     void *dev;
 } handlers[GPIO_NPORTS * 8];
 
-static irqreturn_t hd64465_gpio_interrupt(int irq, void *dev, struct pt_regs *regs)
+static irqreturn_t hd64465_gpio_interrupt(int irq, void *dev)
 {
        unsigned short port, pin, isr, mask, portpin;
        
@@ -170,7 +170,7 @@ static int __init hd64465_gpio_init(void)
        if (!request_region(HD64465_REG_GPACR, 0x1000, MODNAME))
                return -EBUSY;
        if (request_irq(HD64465_IRQ_GPIO, hd64465_gpio_interrupt,
-                       SA_INTERRUPT, MODNAME, 0))
+                       IRQF_DISABLED, MODNAME, 0))
                goto out_irqfailed;
 
        printk("HD64465 GPIO layer on irq %d\n", HD64465_IRQ_GPIO);