Skip to content

Commit

Permalink
[PATCH] mxser-workqueue-fixes
Browse files Browse the repository at this point in the history
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Dec 8, 2006
1 parent e930790 commit 95a7b8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/char/mxser_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ static void process_txrx_fifo(struct mxser_port *info)
}
}

static void mxser_do_softint(void *private_)
static void mxser_do_softint(struct work_struct *work)
{
struct mxser_port *info = private_;
struct mxser_port *info = container_of(work, struct mxser_port, tqueue);
struct tty_struct *tty = info->tty;

if (test_and_clear_bit(MXSER_EVENT_TXLOW, &info->event))
Expand Down Expand Up @@ -2416,7 +2416,7 @@ static int __devinit mxser_initbrd(struct mxser_board *brd,
info->custom_divisor = info->baud_base * 16;
info->close_delay = 5 * HZ / 10;
info->closing_wait = 30 * HZ;
INIT_WORK(&info->tqueue, mxser_do_softint, info);
INIT_WORK(&info->tqueue, mxser_do_softint);
info->normal_termios = mxvar_sdriver->init_termios;
init_waitqueue_head(&info->open_wait);
init_waitqueue_head(&info->close_wait);
Expand Down

0 comments on commit 95a7b8b

Please sign in to comment.