From 340e2fba2cf52b3e4e6c5b66367f26567ec4bf0c Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 16 Aug 2012 21:39:01 +0000 Subject: 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 Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10705 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.6@10708 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 13bbb20..1178a13 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -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 #endif -- cgit v1.2.3