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
This commit is contained in:
parent
3a3684a38e
commit
7ad722e684
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user