diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/isicom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/isicom.c b/drivers/char/isicom.c index adab41cdab65..5a747e685993 100644 --- a/drivers/char/isicom.c +++ b/drivers/char/isicom.c | |||
@@ -946,8 +946,8 @@ static int isicom_open(struct tty_struct *tty, struct file *filp) | |||
946 | { | 946 | { |
947 | struct isi_port *port; | 947 | struct isi_port *port; |
948 | struct isi_board *card; | 948 | struct isi_board *card; |
949 | unsigned int line, board; | 949 | unsigned int board; |
950 | int error; | 950 | int error, line; |
951 | 951 | ||
952 | line = tty->index; | 952 | line = tty->index; |
953 | if (line < 0 || line > PORT_COUNT-1) | 953 | if (line < 0 || line > PORT_COUNT-1) |