Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376023
b: refs/heads/master
c: b5325a0
h: refs/heads/master
i:
  376021: 2c20edb
  376019: 6e1bd01
  376015: a878a66
v: v3
  • Loading branch information
Darrick J. Wong authored and Greg Kroah-Hartman committed May 21, 2013
1 parent d586fa1 commit f1c757f
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 89fb9e7c3423662f4969a1e8ef0f5d44835d2381
refs/heads/master: b5325a02aa84c794cf520d6d68cae4b150988a32
2 changes: 1 addition & 1 deletion trunk/drivers/char/ttyprintk.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ static int __init ttyprintk_init(void)
{
int ret = -ENOMEM;

tpk_port.port.ops = &null_ops;
mutex_init(&tpk_port.port_write_mutex);

ttyprintk_driver = tty_alloc_driver(1,
Expand All @@ -190,6 +189,7 @@ static int __init ttyprintk_init(void)
return PTR_ERR(ttyprintk_driver);

tty_port_init(&tpk_port.port);
tpk_port.port.ops = &null_ops;

ttyprintk_driver->driver_name = "ttyprintk";
ttyprintk_driver->name = "ttyprintk";
Expand Down

0 comments on commit f1c757f

Please sign in to comment.