Staging: meilhaus: Remove long-deprecated SA_* interrupt macros.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Sat, 9 May 2009 13:40:14 +0000 (09:40 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:35 +0000 (11:00 -0700)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/meilhaus/me0600_ext_irq.c
drivers/staging/meilhaus/me1400_ext_irq.c
drivers/staging/meilhaus/me4600_ai.c
drivers/staging/meilhaus/me4600_ao.c
drivers/staging/meilhaus/me4600_ext_irq.c
drivers/staging/meilhaus/me6000_ao.c
drivers/staging/meilhaus/me8100_di.c
drivers/staging/meilhaus/me8200_di.c
drivers/staging/meilhaus/me8200_do.c

index 2f6fedca322397e3f1e85f2e167c90d75c25c7ff..2b97392b49b8b72a0c0a78e1d59f0042bfcfa52e 100644 (file)
@@ -434,11 +434,7 @@ me0600_ext_irq_subdevice_t *me0600_ext_irq_constructor(uint32_t plx_reg_base,
        subdevice->irq = irq;
 
        err = request_irq(subdevice->irq, me0600_isr,
-#ifdef IRQF_DISABLED
                          IRQF_DISABLED | IRQF_SHARED,
-#else
-                         SA_INTERRUPT | SA_SHIRQ,
-#endif
                          ME0600_NAME, (void *)subdevice);
 
        if (err) {
index 0dc6b4519b5b9a57f31772a5180aaab5addfa291..cc4d71b85ba0e0e6dbea8549c85d2bb566e55826 100644 (file)
@@ -458,11 +458,7 @@ me1400_ext_irq_subdevice_t *me1400_ext_irq_constructor(uint32_t device_id,
        subdevice->irq = irq;
 
        err = request_irq(irq, me1400_ext_irq_isr,
-#ifdef IRQF_DISABLED
                          IRQF_DISABLED | IRQF_SHARED,
-#else
-                         SA_INTERRUPT | SA_SHIRQ,
-#endif
                          ME1400_NAME, (void *)subdevice);
 
        if (err) {
index a3cfef09a4de2f1e9818e0f44944d441a739a104..e496d0c8d484dcb3d6e3d544de72083d9319f418 100644 (file)
@@ -299,11 +299,7 @@ me4600_ai_subdevice_t *me4600_ai_constructor(uint32_t reg_base,
        // Register interrupt service routine.
        subdevice->irq = irq;
        if (request_irq(subdevice->irq, me4600_ai_isr,
-#ifdef IRQF_DISABLED
                        IRQF_DISABLED | IRQF_SHARED,
-#else
-                       SA_INTERRUPT | SA_SHIRQ,
-#endif
                        ME4600_NAME, subdevice)) {
                PERROR("Cannot register interrupt service routine.\n");
                me_subdevice_deinit((me_subdevice_t *) subdevice);
index eb472692a7c5645914f37de08b8041295e3b6223..4000dac057edd1be1dd13a2d68705e5c067acfc4 100644 (file)
@@ -2567,11 +2567,7 @@ me4600_ao_subdevice_t *me4600_ao_constructor(uint32_t reg_base,
        if (subdevice->fifo) {
                subdevice->irq = irq;
                if (request_irq(subdevice->irq, me4600_ao_isr,
-#ifdef IRQF_DISABLED
                                IRQF_DISABLED | IRQF_SHARED,
-#else
-                               SA_INTERRUPT | SA_SHIRQ,
-#endif
                                ME4600_NAME, subdevice)) {
                        PERROR("Cannot get interrupt line.\n");
                        PDEBUG("free circ_buf = %p size=%d",
@@ -5737,7 +5733,7 @@ me4600_ao_subdevice_t *me4600_ao_constructor(uint32_t reg_base,
        subdevice->irq = irq;
 
        if (request_irq
-           (subdevice->irq, me4600_ao_isr, SA_INTERRUPT | SA_SHIRQ,
+           (subdevice->irq, me4600_ao_isr, IRQF_DISABLED | IRQF_SHARED,
             ME4600_NAME, subdevice)) {
                PERROR("Cannot get interrupt line.\n");
                me_subdevice_deinit((me_subdevice_t *) subdevice);
index 6b33cba3da8bcc83eb411d15fc39826310a716e9..082a6e8f3568fc2e910796bf08d2326d4ecfcb2d 100644 (file)
@@ -420,11 +420,7 @@ me4600_ext_irq_subdevice_t *me4600_ext_irq_constructor(uint32_t reg_base,
        subdevice->irq = irq;
 
        if (request_irq(subdevice->irq, me4600_ext_irq_isr,
-#ifdef IRQF_DISABLED
                        IRQF_DISABLED | IRQF_SHARED,
-#else
-                       SA_INTERRUPT | SA_SHIRQ,
-#endif
                        ME4600_NAME, subdevice)) {
                PERROR("Cannot register interrupt.\n");
                kfree(subdevice);
index f7abdbd485e4a2ce2d821424972b53a6f1e69492..66652dc5b96745fccf3b47ead4acef00f0f07146 100644 (file)
@@ -2627,11 +2627,7 @@ me6000_ao_subdevice_t *me6000_ao_constructor(uint32_t reg_base,
        if (subdevice->fifo & ME6000_AO_HAS_FIFO) {
                subdevice->irq = irq;
                if (request_irq(subdevice->irq, me6000_ao_isr,
-#ifdef IRQF_DISABLED
                                IRQF_DISABLED | IRQF_SHARED,
-#else
-                               SA_INTERRUPT | SA_SHIRQ,
-#endif
                                ME6000_NAME, subdevice)) {
                        PERROR("Cannot get interrupt line.\n");
                        PDEBUG("free circ_buf = %p size=%d",
index 301dbd8f96a1f55cd4647d71473cb4ba52f800cf..7bd7b7f60db0f822bec53b79e9818098e2b6acc4 100644 (file)
@@ -633,11 +633,7 @@ me8100_di_subdevice_t *me8100_di_constructor(uint32_t me8100_reg_base,
        /* Register interrupt service routine. */
        subdevice->irq = irq;
        err = request_irq(subdevice->irq, me8100_isr,
-#ifdef IRQF_DISABLED
                          IRQF_DISABLED | IRQF_SHARED,
-#else
-                         SA_INTERRUPT | SA_SHIRQ,
-#endif
                          ME8100_NAME, (void *)subdevice);
 
        if (err) {
index a931fb817c7dc9b09e039ee0594fa43d3d41afc1..cc1965bf3f454d48054ebc7c1889bc5bd43aea66 100644 (file)
@@ -801,19 +801,11 @@ me8200_di_subdevice_t *me8200_di_constructor(uint32_t me8200_regbase,
        subdevice->irq = irq;
        if (subdevice->version > 0) {   // NEW
                err = request_irq(subdevice->irq, me8200_isr_EX,
-#ifdef IRQF_DISABLED
                                  IRQF_DISABLED | IRQF_SHARED,
-#else
-                                 SA_INTERRUPT | SA_SHIRQ,
-#endif
                                  ME8200_NAME, (void *)subdevice);
        } else {                //OLD
                err = request_irq(subdevice->irq, me8200_isr,
-#ifdef IRQF_DISABLED
                                  IRQF_DISABLED | IRQF_SHARED,
-#else
-                                 SA_INTERRUPT | SA_SHIRQ,
-#endif
                                  ME8200_NAME, (void *)subdevice);
        }
 
index 40d536c71d50ece586d8e9ca2ee7719fa8cbe122..3cec9b6c8c67d4933c40ed9b8d61942693dac0d0 100644 (file)
@@ -556,11 +556,7 @@ me8200_do_subdevice_t *me8200_do_constructor(uint32_t reg_base,
 
        /* Request the interrupt line */
        err = request_irq(irq, me8200_do_isr,
-#ifdef IRQF_DISABLED
                          IRQF_DISABLED | IRQF_SHARED,
-#else
-                         SA_INTERRUPT | SA_SHIRQ,
-#endif
                          ME8200_NAME, (void *)subdevice);
 
        if (err) {