Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253966
b: refs/heads/master
c: 33b1e69
h: refs/heads/master
v: v3
  • Loading branch information
Mika Westerberg authored and Linus Torvalds committed Jun 23, 2011
1 parent dacdc13 commit 8b8e1bd
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: 0bb04bf3dfdfe1c981087cdfb0d9d772c3a0ba55
refs/heads/master: 33b1e6939f5c37ab8e64280fd3d54046607b5c80
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 8b8e1bd

Please sign in to comment.