Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334571
b: refs/heads/master
c: 178e485
h: refs/heads/master
i:
  334569: 4e9704e
  334567: 518d694
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Oct 17, 2012
1 parent 2dbb6f8 commit 82207ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7c4660c12adc5c66351253af381259686fa08a4
refs/heads/master: 178e485a0ebbfdb7165b4363d8fea2a07d650c0b
9 changes: 9 additions & 0 deletions trunk/drivers/staging/dgrp/dgrp_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -3173,6 +3173,9 @@ dgrp_tty_init(struct nd_struct *nd)
*/

nd->nd_serial_ttdriver = alloc_tty_driver(CHAN_MAX);
if (!nd->nd_serial_ttdriver)
return -ENOMEM;

sprintf(nd->nd_serial_name, "tty_dgrp_%s_", id);

nd->nd_serial_ttdriver->owner = THIS_MODULE;
Expand Down Expand Up @@ -3232,6 +3235,9 @@ dgrp_tty_init(struct nd_struct *nd)
}

nd->nd_callout_ttdriver = alloc_tty_driver(CHAN_MAX);
if (!nd->nd_callout_ttdriver)
return -ENOMEM;

sprintf(nd->nd_callout_name, "cu_dgrp_%s_", id);

nd->nd_callout_ttdriver->owner = THIS_MODULE;
Expand Down Expand Up @@ -3269,6 +3275,9 @@ dgrp_tty_init(struct nd_struct *nd)


nd->nd_xprint_ttdriver = alloc_tty_driver(CHAN_MAX);
if (!nd->nd_xprint_ttdriver)
return -ENOMEM;

sprintf(nd->nd_xprint_name, "pr_dgrp_%s_", id);

nd->nd_xprint_ttdriver->owner = THIS_MODULE;
Expand Down

0 comments on commit 82207ec

Please sign in to comment.