[patch] serialP.h: remove a kernel 2.2 #ifdef

From: Adrian Bunk
Date: Sat Feb 07 2004 - 20:32:38 EST


The patch below removes a kernel 2.2 #ifdef from include/linux/serialP.h .

Please apply
Adrian


--- linux-2.6.2-mm1/include/linux/serialP.h.old 2004-02-08 02:25:01.000000000 +0100
+++ linux-2.6.2-mm1/include/linux/serialP.h 2004-02-08 02:25:22.000000000 +0100
@@ -26,11 +26,6 @@
#include <linux/interrupt.h>
#include <linux/circ_buf.h>
#include <linux/wait.h>
-#if (LINUX_VERSION_CODE < 0x020300)
-/* Unfortunate, but Linux 2.2 needs async_icount defined here and
- * it got moved in 2.3 */
-#include <linux/serial.h>
-#endif

struct serial_state {
int magic;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/