diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-08-16 21:39:01 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-08-16 21:39:01 +0000 |
commit | 340e2fba2cf52b3e4e6c5b66367f26567ec4bf0c (patch) | |
tree | 9bdb2d6052d31b01958cc65b831a51aa8ac224c5 | |
parent | 6d1833f02ff672a1c0e8a342b6cb5f58d5049aed (diff) |
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@digium.com>
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
-rw-r--r-- | include/dahdi/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <linux/pci-aspm.h> #endif |