[dahdi-commits] sruffell: branch linux/2.6 r10708 - /linux/branches/2.6/include/dahdi/kernel.h

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


Author: sruffell
Date: Thu Aug 16 16:39:01 2012
New Revision: 10708

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10708
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>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10705

Modified:
    linux/branches/2.6/include/dahdi/kernel.h

Modified: linux/branches/2.6/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.6/include/dahdi/kernel.h?view=diff&rev=10708&r1=10707&r2=10708
==============================================================================
--- linux/branches/2.6/include/dahdi/kernel.h (original)
+++ linux/branches/2.6/include/dahdi/kernel.h Thu Aug 16 16:39:01 2012
@@ -72,7 +72,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