Package: nozomi-source
Version: 2.1-4
Tags: patch

Hi,

nozomi-source does not build anymore with kernels >= 2.6.24 as the
deprecated SA_* defines in include/linux/interrupt.h were removed.
The attached patch fixes it. Tested on 2.6.24 and 2.6.23.

Regards
Evgeni
--- nozomi.c.orig	2008-01-30 21:46:45.000000000 +0100
+++ nozomi.c	2008-01-30 21:35:16.000000000 +0100
@@ -1353,7 +1353,7 @@
 
     int rval = 0;
 
-    if ( (rval = request_irq( pdev->irq, &interrupt_handler, SA_SHIRQ, NOZOMI_NAME, pdev )) ) {
+    if ( (rval = request_irq( pdev->irq, &interrupt_handler, IRQF_SHARED, NOZOMI_NAME, pdev )) ) {
         ERR("Cannot open because IRQ %d is already in use.", pdev->irq );
         return rval;
     }

Attachment: pgp63RduJOzYp.pgp
Description: PGP signature

Reply via email to