The SA_* flags has been replaced by IRQF_* flags for newer kernels.
authorppisa <ppisa>
Sun, 2 Mar 2008 00:26:22 +0000 (00:26 +0000)
committerppisa <ppisa>
Sun, 2 Mar 2008 00:26:22 +0000 (00:26 +0000)
lincan/src/ipci165.c

index 0975231..2a1f7c4 100644 (file)
 
 #include <ctype.h>
 
+#ifndef IRQF_SHARED
+#define IRQF_SHARED SA_SHIRQ
+#endif  /*IRQF_SHARED*/
+
 can_irqreturn_t ipci165_irq_handler(CAN_IRQ_HANDLER_ARGS(irq_number, dev_id));
 int ipci165_baud_rate(struct canchip_t *chip, int rate, int clock, int sjw,
                       int sampl_pt, int flags);
@@ -321,7 +325,7 @@ int ipci165_connect_irq(struct candevice_t *candev)
   /* install interrupt routine */
   if (request_irq(candev->sysdevptr.pcidev->irq,
                   ipci165_irq_handler,
-                  SA_SHIRQ,
+                  IRQF_SHARED,
                   DEVICE_NAME,
                   candev))
     return -ENODEV;