Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62881
b: refs/heads/master
c: 931f9cd
h: refs/heads/master
i:
  62879: 9f8b589
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Jul 25, 2007
1 parent a91b9ec commit 2914c99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a427138712f388987aa13475bf591685b6b8cd46
refs/heads/master: 931f9cde5c3f9dc7827759db258eaf979bfa92b6
12 changes: 6 additions & 6 deletions trunk/drivers/serial/68328serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ irqreturn_t rs_interrupt(int irq, void *dev_id)
return IRQ_HANDLED;
}

static void do_softint(void *private)
static void do_softint(struct work_struct *work)
{
struct m68k_serial *info = (struct m68k_serial *) private;
struct m68k_serial *info = container_of(work, struct m68k_serial, tqueue);
struct tty_struct *tty;

tty = info->tty;
Expand All @@ -424,9 +424,9 @@ static void do_softint(void *private)
* do_serial_hangup() -> tty->hangup() -> rs_hangup()
*
*/
static void do_serial_hangup(void *private)
static void do_serial_hangup(struct work_struct *work)
{
struct m68k_serial *info = (struct m68k_serial *) private;
struct m68k_serial *info = container_of(work, struct m68k_serial, tqueue_hangup);
struct tty_struct *tty;

tty = info->tty;
Expand Down Expand Up @@ -1390,8 +1390,8 @@ rs68328_init(void)
info->event = 0;
info->count = 0;
info->blocked_open = 0;
INIT_WORK(&info->tqueue, do_softint, info);
INIT_WORK(&info->tqueue_hangup, do_serial_hangup, info);
INIT_WORK(&info->tqueue, do_softint);
INIT_WORK(&info->tqueue_hangup, do_serial_hangup);
init_waitqueue_head(&info->open_wait);
init_waitqueue_head(&info->close_wait);
info->line = i;
Expand Down

0 comments on commit 2914c99

Please sign in to comment.