Skip to contentSkip to conversation

remove kernel 2.0 code from mcfserial.h

PATCH Applied Adrian Bunk 2 participants 2 messages Jan 12, 2003 – Jan 13, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove kernel 2.0 code from mcfserial.h

The patch below removes some #if'd code for kernel 2.0 from drivers/serial/mcfserial.h.

Please apply
Adrian

drivers/serial/mcfserial.h renamed from drivers/serial/mcfserial.h.old +0 -5
@@ -69,13 +69,8 @@
 	struct work_struct	tqueue_hangup;
 	struct termios		normal_termios;
 	struct termios		callout_termios;
-#if LINUX_VERSION_CODE <= 0x020100
-	struct wait_queue	*open_wait;
-	struct wait_queue	*close_wait;
-#else
 	wait_queue_head_t	open_wait;
 	wait_queue_head_t	close_wait;
-#endif
 
 };
 
Applied
#1 lore raw

Hi Adrian,

Quoted 1 line · Adrian Bunk

The patch below removes some #if'd code for kernel 2.0 from drivers/serial/mcfserial.h.

Applied. Thanks.

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: www.SnapGear.com