diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-12-06 13:41:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-06 14:09:08 -0500 |
commit | 3e577a80ea85e2557831fd44064f809646f260b4 (patch) | |
tree | 11e5198b33075effb33f70693bc3a189091eb1c3 /drivers/char/serial167.c | |
parent | 7a87b6c228b8d0cc54b9faa159732fcb2a6c9d0c (diff) |
[PATCH] drivers/{char|isdn}: work_struct-induced breakage
part 1 of fsck-knows-how-many
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/serial167.c')
-rw-r--r-- | drivers/char/serial167.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/serial167.c b/drivers/char/serial167.c index 3af7f0958c5d..9ba13af234be 100644 --- a/drivers/char/serial167.c +++ b/drivers/char/serial167.c | |||
@@ -706,9 +706,9 @@ cd2401_rx_interrupt(int irq, void *dev_id) | |||
706 | * had to poll every port to see if that port needed servicing. | 706 | * had to poll every port to see if that port needed servicing. |
707 | */ | 707 | */ |
708 | static void | 708 | static void |
709 | do_softint(void *private_) | 709 | do_softint(struct work_struct *ugly_api) |
710 | { | 710 | { |
711 | struct cyclades_port *info = (struct cyclades_port *) private_; | 711 | struct cyclades_port *info = container_of(ugly_api, struct cyclades_port, tqueue); |
712 | struct tty_struct *tty; | 712 | struct tty_struct *tty; |
713 | 713 | ||
714 | tty = info->tty; | 714 | tty = info->tty; |
@@ -2273,7 +2273,7 @@ scrn[1] = '\0'; | |||
2273 | info->blocked_open = 0; | 2273 | info->blocked_open = 0; |
2274 | info->default_threshold = 0; | 2274 | info->default_threshold = 0; |
2275 | info->default_timeout = 0; | 2275 | info->default_timeout = 0; |
2276 | INIT_WORK(&info->tqueue, do_softint, info); | 2276 | INIT_WORK(&info->tqueue, do_softint); |
2277 | init_waitqueue_head(&info->open_wait); | 2277 | init_waitqueue_head(&info->open_wait); |
2278 | init_waitqueue_head(&info->close_wait); | 2278 | init_waitqueue_head(&info->close_wait); |
2279 | /* info->session */ | 2279 | /* info->session */ |