Commit 6089a68d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev
Browse files

Fixed dahdi not to use linux/pci-aspm.h

parent ea465bd6
all:
$(MAKE) -C ../linux source
tar xf dahdi-linux-complete-3.1.0+3.1.0.tar.gz
patch -Np1 -d dahdi-linux-complete-3.1.0+3.1.0 < dahdi-linux-complete-3.1.0+3.1.0-no_pci-aspm.patch
$(MAKE) -C dahdi-linux-complete-3.1.0+3.1.0
$(MAKE) -C dahdi-linux-complete-3.1.0+3.1.0 install
rm -rf dahdi-linux-complete-3.1.0+3.1.0
......
diff -uNr dahdi-linux-complete-3.1.0+3.1.0/linux/include/dahdi/kernel.h dahdi-linux-complete-3.1.0+3.1.0-no_pci-aspm/linux/include/dahdi/kernel.h
--- dahdi-linux-complete-3.1.0+3.1.0/linux/include/dahdi/kernel.h 2019-10-04 00:18:09.000000000 +0930
+++ dahdi-linux-complete-3.1.0+3.1.0-no_pci-aspm/linux/include/dahdi/kernel.h 2021-08-28 14:02:28.411306037 +0930
@@ -58,10 +58,6 @@
#include <linux/poll.h>
-#ifdef CONFIG_PCI
-#include <linux/pci-aspm.h>
-#endif
-
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
#define HAVE_NET_DEVICE_OPS
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment