wok-6.x view linmodem-intel-536ep/stuff/linmodem-intel-536ep-kernel-2.6.30.patch @ rev 11591

Up shaarli (0.0.33beta)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 12 00:55:33 2012 +0100 (2012-01-12)
parents
children
line source
1 --- intel-536-537/coredrv/softserial.c.orig Fri Jul 3 17:58:30 2009
2 +++ intel-536-537/coredrv/softserial.c Thu Nov 5 16:26:13 2009
3 @@ -362,7 +362,7 @@
4 {
5 if( (ptty->flags & (1 << TTY_DO_WRITE_WAKEUP)) &&
6 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26)
7 - (ptty->ldisc.ops->write_wakeup != NULL))
8 + (ptty->ldisc->ops->write_wakeup != NULL))
9 #else
10 (ptty->ldisc.write_wakeup != NULL))
11 #endif
12 @@ -371,7 +371,7 @@
13 printk("ss_bg_eh:ldisc wakeup\n");
14 #endif
15 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26)
16 - (ptty->ldisc.ops->write_wakeup)(ptty);
17 + (ptty->ldisc->ops->write_wakeup)(ptty);
18 #else
19 (ptty->ldisc.write_wakeup)(ptty);
20 #endif