diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-11-23 02:00:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-11-23 02:00:47 +0000 |
commit | 06615f62b17d7de6e12d2f5ec6b88cf30af08413 (patch) | |
tree | 8766f208847d4876a6db619aebbf54d53b76eb44 /drivers/char/sx.c | |
parent | fa9bdb574f4febb751848a685d9a9017e04e1d53 (diff) |
Merge with Linux 2.4.0-test10.
Diffstat (limited to 'drivers/char/sx.c')
-rw-r--r-- | drivers/char/sx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/sx.c b/drivers/char/sx.c index e6336fc03..3dd5811d9 100644 --- a/drivers/char/sx.c +++ b/drivers/char/sx.c @@ -309,16 +309,16 @@ static int sx_init_drivers(void); static struct tty_driver sx_driver, sx_callout_driver; -static struct tty_struct * sx_table[SX_NPORTS] = { NULL, }; +static struct tty_struct * sx_table[SX_NPORTS]; static struct termios ** sx_termios; static struct termios ** sx_termios_locked; struct sx_board boards[SX_NBOARDS]; struct sx_port *sx_ports; int sx_refcount; -int sx_initialized = 0; -int sx_nports = 0; -int sx_debug = 0; +int sx_initialized; +int sx_nports; +int sx_debug; /* You can have the driver poll your card. @@ -330,7 +330,7 @@ int sx_debug = 0; everything will continue to work.... */ int sx_poll = 1; -int sx_slowpoll = 0; +int sx_slowpoll; /* The card limits the number of interrupts per second. At 115k2 "100" should be sufficient. @@ -2077,7 +2077,7 @@ static int sx_init_board (struct sx_board *board) void printheader(void) { - static int header_printed = 0; + static int header_printed; if (!header_printed) { printk (KERN_INFO "Specialix SX driver " |