diff options
author | Dave Jones <davej@redhat.com> | 2006-06-29 16:01:54 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-06-29 16:01:54 -0400 |
commit | 55b4d6a52195a8f277ffddf755ddaff359878f41 (patch) | |
tree | 06a3183a562f8da4688f65023f7a18dcad702956 /drivers/char/specialix.c | |
parent | adf8a287150667feb5747f8beade62acacc17d4e (diff) | |
parent | 1f1332f727c3229eb2166a83fec5d3de6a73dce2 (diff) |
Merge ../linus
Conflicts:
drivers/char/agp/Kconfig
Diffstat (limited to 'drivers/char/specialix.c')
-rw-r--r-- | drivers/char/specialix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/specialix.c b/drivers/char/specialix.c index 5343e9fc6ab7..d2d6b01dcd05 100644 --- a/drivers/char/specialix.c +++ b/drivers/char/specialix.c | |||
@@ -1683,7 +1683,7 @@ static int sx_write(struct tty_struct * tty, | |||
1683 | 1683 | ||
1684 | bp = port_Board(port); | 1684 | bp = port_Board(port); |
1685 | 1685 | ||
1686 | if (!tty || !port->xmit_buf || !tmp_buf) { | 1686 | if (!port->xmit_buf || !tmp_buf) { |
1687 | func_exit(); | 1687 | func_exit(); |
1688 | return 0; | 1688 | return 0; |
1689 | } | 1689 | } |
@@ -1733,7 +1733,7 @@ static void sx_put_char(struct tty_struct * tty, unsigned char ch) | |||
1733 | return; | 1733 | return; |
1734 | } | 1734 | } |
1735 | dprintk (SX_DEBUG_TX, "check tty: %p %p\n", tty, port->xmit_buf); | 1735 | dprintk (SX_DEBUG_TX, "check tty: %p %p\n", tty, port->xmit_buf); |
1736 | if (!tty || !port->xmit_buf) { | 1736 | if (!port->xmit_buf) { |
1737 | func_exit(); | 1737 | func_exit(); |
1738 | return; | 1738 | return; |
1739 | } | 1739 | } |
@@ -2477,7 +2477,7 @@ static int __init specialix_init(void) | |||
2477 | #endif | 2477 | #endif |
2478 | 2478 | ||
2479 | for (i = 0; i < SX_NBOARD; i++) | 2479 | for (i = 0; i < SX_NBOARD; i++) |
2480 | sx_board[i].lock = SPIN_LOCK_UNLOCKED; | 2480 | spin_lock_init(&sx_board[i].lock); |
2481 | 2481 | ||
2482 | if (sx_init_drivers()) { | 2482 | if (sx_init_drivers()) { |
2483 | func_exit(); | 2483 | func_exit(); |