patch-2.3.17 linux/include/linux/serialP.h

Next file: linux/include/linux/stallion.h
Previous file: linux/include/linux/proc_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/include/linux/serialP.h linux/include/linux/serialP.h
@@ -19,6 +19,7 @@
  * For definitions of the flags field, see tty.h
  */
 
+#include <linux/config.h>
 #include <linux/termios.h>
 #include <linux/tqueue.h>
 #include <linux/wait.h>
@@ -146,6 +147,7 @@
 #define ALPHA_KLUDGE_MCR 0
 #endif
 
+#ifdef CONFIG_PCI
 /*
  * Structures and definitions for PCI support
  */
@@ -170,6 +172,7 @@
 
 #ifndef PCI_ANY_ID
 #define PCI_ANY_ID (~0)
+#endif
 #endif
 
 #define SPCI_FL_BASE_MASK	0x0007

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)