diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-30 19:07:03 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-30 19:07:03 +0000 |
commit | 139f47629bf913908d2b9828488a77970f0ad34b (patch) | |
tree | 734538e482b836810f2f84bec023dc39740e1dcc /target/linux/brcm63xx-2.6/files/drivers | |
parent | 7bcb808da87b29b766af9f1dee8eb15a52497710 (diff) |
Update to .21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7408 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx-2.6/files/drivers')
-rw-r--r-- | target/linux/brcm63xx-2.6/files/drivers/serial/bcm63xx_cons.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/brcm63xx-2.6/files/drivers/serial/bcm63xx_cons.c b/target/linux/brcm63xx-2.6/files/drivers/serial/bcm63xx_cons.c index 4693779773..b026aa10ab 100644 --- a/target/linux/brcm63xx-2.6/files/drivers/serial/bcm63xx_cons.c +++ b/target/linux/brcm63xx-2.6/files/drivers/serial/bcm63xx_cons.c @@ -75,7 +75,7 @@ typedef struct bcm_serial { struct async_icount icount; /* keep track of things ... */ struct tty_struct *tty; /* tty associated */ - struct termios normal_termios; + struct ktermios normal_termios; wait_queue_head_t open_wait; wait_queue_head_t close_wait; @@ -107,8 +107,8 @@ typedef struct bcm_serial { static struct bcm_serial multi[BCM_NUM_UARTS]; static struct bcm_serial *lines[BCM_NUM_UARTS]; static struct tty_driver *serial_driver; -static struct termios *serial_termios[BCM_NUM_UARTS]; -static struct termios *serial_termios_locked[BCM_NUM_UARTS]; +static struct ktermios *serial_termios[BCM_NUM_UARTS]; +static struct ktermios *serial_termios_locked[BCM_NUM_UARTS]; static void bcm_stop(struct tty_struct *tty); @@ -135,7 +135,7 @@ static void send_break(struct bcm_serial *info, int duration); static int bcm_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg); static void bcm_set_termios(struct tty_struct *tty, - struct termios *old_termios); + struct ktermios *old_termios); static void bcm63xx_cons_close(struct tty_struct *tty, struct file *filp); static void bcm_hangup(struct tty_struct *tty); static int block_til_ready(struct tty_struct *tty, struct file *filp, @@ -721,7 +721,7 @@ static int bcm_ioctl(struct tty_struct *tty, struct file *file, } static void bcm_set_termios(struct tty_struct *tty, - struct termios *old_termios) + struct ktermios *old_termios) { struct bcm_serial *info = (struct bcm_serial *) tty->driver_data; @@ -894,7 +894,6 @@ static int bcm63xx_cons_open(struct tty_struct *tty, struct file *filp) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) info->pgrp = process_group(current); - info->session = current->signal->session; #else info->session = current->session; info->pgrp = current->pgrp; |