diff options
Diffstat (limited to 'drivers/char/n_r3964.c')
-rw-r--r-- | drivers/char/n_r3964.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/n_r3964.c b/drivers/char/n_r3964.c index fab1b7d42858..65f2d3a96b85 100644 --- a/drivers/char/n_r3964.c +++ b/drivers/char/n_r3964.c | |||
@@ -1005,9 +1005,7 @@ static int r3964_open(struct tty_struct *tty) | |||
1005 | tty->disc_data = pInfo; | 1005 | tty->disc_data = pInfo; |
1006 | tty->receive_room = 65536; | 1006 | tty->receive_room = 65536; |
1007 | 1007 | ||
1008 | init_timer(&pInfo->tmr); | 1008 | setup_timer(&pInfo->tmr, on_timeout, (unsigned long)pInfo); |
1009 | pInfo->tmr.data = (unsigned long)pInfo; | ||
1010 | pInfo->tmr.function = on_timeout; | ||
1011 | 1009 | ||
1012 | return 0; | 1010 | return 0; |
1013 | } | 1011 | } |