File: linux-pci.patch

package info (click to toggle)
linux-kernel-headers 2.5.999-test7-bk-17
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 28,268 kB
  • ctags: 214,024
  • sloc: ansic: 324,929; cpp: 783; makefile: 79; asm: 61; sh: 61
file content (14 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Included via <sys/pci.h>.

--- include/linux/pci.h.orig	2003-11-23 15:54:10.000000000 -0500
+++ include/linux/pci.h	2003-11-23 15:54:19.000000000 -0500
@@ -17,7 +17,9 @@
 #ifndef LINUX_PCI_H
 #define LINUX_PCI_H
 
+#ifdef __KERNEL__
 #include <linux/mod_devicetable.h>
+#endif
 
 /*
  * Under PCI, each device has 256 bytes of configuration address space,