Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259330
b: refs/heads/master
c: 9c00c6e
h: refs/heads/master
v: v3
  • Loading branch information
Mika Westerberg authored and Greg Kroah-Hartman committed Jul 1, 2011
1 parent 2c88472 commit 3a0f722
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: f2934c3c519b58f84082652447e62ab4a76c53ec
refs/heads/master: 9c00c6e7f9137b669e691219ea871eeb2c67c3d0
3 changes: 2 additions & 1 deletion trunk/drivers/tty/serial/mrst_max3110.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ static int max3110_main_thread(void *_max)
int ret = 0;
struct circ_buf *xmit = &max->con_xmit;

init_waitqueue_head(wq);
pr_info(PR_FMT "start main thread\n");

do {
Expand Down Expand Up @@ -838,6 +837,8 @@ static int __devinit serial_m3110_probe(struct spi_device *spi)
max->con_xmit.head = 0;
max->con_xmit.tail = 0;

init_waitqueue_head(&max->wq);

max->main_thread = kthread_run(max3110_main_thread,
max, "max3110_main");
if (IS_ERR(max->main_thread)) {
Expand Down

0 comments on commit 3a0f722

Please sign in to comment.