]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB: m66592-udc: fix use old interrupt flags
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Wed, 30 May 2007 13:06:00 +0000 (22:06 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:45 +0000 (16:29 -0700)
This patch fixes the problem that used SA_* flags.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/m66592-udc.c

index 611130c8983b21d5695ee62a6cf628cb2444bf50..c0a962bb5f25238b13a8e75124735c5365b503cc 100644 (file)
@@ -44,7 +44,7 @@ MODULE_DESCRIPTION("M66592 USB gadget driiver");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Yoshihiro Shimoda");
 
-#define DRIVER_VERSION "9 May 2007"
+#define DRIVER_VERSION "29 May 2007"
 
 /* module parameters */
 static unsigned short clock = M66592_XTAL24;
@@ -1567,7 +1567,7 @@ static int __init m66592_probe(struct platform_device *pdev)
 
        m66592->bi_bufnum = M66592_BASE_BUFNUM;
 
-       ret = request_irq(irq, m66592_irq, SA_INTERRUPT | SA_SHIRQ,
+       ret = request_irq(irq, m66592_irq, IRQF_DISABLED | IRQF_SHARED,
                          udc_name, m66592);
        if (ret < 0) {
                printk(KERN_ERR "request_irq error (%d)\n", ret);