diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-08-16 21:32:40 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-08-16 21:32:40 +0000 |
commit | b14d6e793291b6e48c8c9d9e5182deb830722471 (patch) | |
tree | 46ba19a92f22a0dcaa312bd1c6395753de07f42f | |
parent | 56661e97ee2f47f7c8ec1fe39e943103bc3ce476 (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>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10705 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 c452270..2a06661 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -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 |