[svn-commits] sruffell: linux/trunk r7516 - /linux/trunk/drivers/dahdi/voicebus/voicebus.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Nov 6 18:35:51 CST 2009


Author: sruffell
Date: Fri Nov  6 18:35:40 2009
New Revision: 7516

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7516
Log:
voicebus: Use DAHDI_IRQ_SHARED instead of defining our own.

Modified:
    linux/trunk/drivers/dahdi/voicebus/voicebus.c

Modified: linux/trunk/drivers/dahdi/voicebus/voicebus.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/voicebus/voicebus.c?view=diff&rev=7516&r1=7515&r2=7516
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/trunk/drivers/dahdi/voicebus/voicebus.c Fri Nov  6 18:35:40 2009
@@ -1464,12 +1464,7 @@
 	vb_enable_io_access(vb);
 
 #if VOICEBUS_DEFERRED != TIMER
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
-#	define VB_IRQ_SHARED	SA_SHIRQ
-#else
-#	define VB_IRQ_SHARED	IRQF_SHARED
-#endif
-	if (request_irq(pdev->irq, vb_isr, VB_IRQ_SHARED, board_name,
+	if (request_irq(pdev->irq, vb_isr, DAHDI_IRQ_SHARED, board_name,
 		vb)) {
 		assert(0);
 		goto cleanup;




More information about the svn-commits mailing list