From: Adrian Bunk The patch below removeskernel 2.2 #ifdef's from {i,}stallion.h . --- include/linux/istallion.h | 6 ------ include/linux/stallion.h | 5 ----- 2 files changed, 11 deletions(-) diff -puN include/linux/istallion.h~stallion-decruftery include/linux/istallion.h --- 25/include/linux/istallion.h~stallion-decruftery 2004-02-07 13:24:22.000000000 -0800 +++ 25-akpm/include/linux/istallion.h 2004-02-07 13:24:22.000000000 -0800 @@ -70,15 +70,9 @@ typedef struct { void *argp; unsigned int rxmarkmsk; struct tty_struct *tty; -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)) - struct wait_queue *open_wait; - struct wait_queue *close_wait; - struct wait_queue *raw_wait; -#else wait_queue_head_t open_wait; wait_queue_head_t close_wait; wait_queue_head_t raw_wait; -#endif struct work_struct tqhangup; asysigs_t asig; unsigned long addr; diff -puN include/linux/stallion.h~stallion-decruftery include/linux/stallion.h --- 25/include/linux/stallion.h~stallion-decruftery 2004-02-07 13:24:22.000000000 -0800 +++ 25-akpm/include/linux/stallion.h 2004-02-07 13:24:22.000000000 -0800 @@ -95,13 +95,8 @@ typedef struct stlport { unsigned long hwid; void *uartp; struct tty_struct *tty; -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)) - struct wait_queue *open_wait; - struct wait_queue *close_wait; -#else wait_queue_head_t open_wait; wait_queue_head_t close_wait; -#endif struct work_struct tqueue; comstats_t stats; stlrq_t tx; _