[dahdi-commits] sruffell: linux/trunk r10705 - /linux/trunk/include/dahdi/kernel.h

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Thu Aug 16 16:32:44 CDT 2012


Author: sruffell
Date: Thu Aug 16 16:32:40 2012
New Revision: 10705

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10705
Log:
dahdi: pci-aspm.h was included in 2.6.26 not 2.6.25.

When compiling against kernels 2.6.25, you could get the following error.

  error: linux/pci-aspm.h: No such file or directory

This fixes a build regression introduced in r10556 "dahdi: Add
dahdi_pci_disable_link_state for kernel < 2.6.25." [1]

[1] http://svnview.digium.com/svn/dahdi?view=revision&revision=10556

Reported-by: Jean-Philippe Lord
Internal-Issue-ID: DAHLIN-299
Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Modified:
    linux/trunk/include/dahdi/kernel.h

Modified: linux/trunk/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/include/dahdi/kernel.h?view=diff&rev=10705&r1=10704&r2=10705
==============================================================================
--- linux/trunk/include/dahdi/kernel.h (original)
+++ linux/trunk/include/dahdi/kernel.h Thu Aug 16 16:32:40 2012
@@ -65,7 +65,7 @@
 #define DAHDI_IRQ_HANDLER(a) static irqreturn_t a(int irq, void *dev_id, struct pt_regs *regs)
 #endif
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
 #ifdef CONFIG_PCI
 #include <linux/pci-aspm.h>
 #endif




More information about the dahdi-commits mailing list