Commit 682134c5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] n_r3964.c fix

- drivers/char/n_r3964.c does not compile.  r3964_open() is doing an
  INIT_LIST_HEAD() on a timer->list.  But timer's don't have a `list'
  any more.

  Do an init_timer() instead.
parent a4561352
......@@ -1126,7 +1126,7 @@ static int r3964_open(struct tty_struct *tty)
tty->disc_data = pInfo;
INIT_LIST_HEAD(&pInfo->tmr.list);
init_timer(&pInfo->tmr);
pInfo->tmr.data = (unsigned long)pInfo;
pInfo->tmr.function = on_timeout;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment