Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325663
b: refs/heads/master
c: 5920c2c
h: refs/heads/master
i:
  325661: 012aea5
  325659: a87f295
  325655: 867302e
  325647: e677d88
  325631: 5c660b6
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Aug 13, 2012
1 parent 8c4bce9 commit 630ec70
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 793be8984fb979ae8887609862842cbb1f60bfaf
refs/heads/master: 5920c2c9b9a16e86eb154fbb55d6034fbaad1b2b
4 changes: 4 additions & 0 deletions trunk/arch/m68k/emu/nfcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <asm/natfeat.h>

static int stderr_id;
static struct tty_port nfcon_tty_port;
static struct tty_driver *nfcon_tty_driver;

static void nfputs(const char *str, unsigned int count)
Expand Down Expand Up @@ -119,6 +120,8 @@ static int __init nfcon_init(void)
{
int res;

tty_port_init(&nfcon_tty_port);

stderr_id = nf_get_id("NF_STDERR");
if (!stderr_id)
return -ENODEV;
Expand All @@ -135,6 +138,7 @@ static int __init nfcon_init(void)
nfcon_tty_driver->flags = TTY_DRIVER_REAL_RAW;

tty_set_operations(nfcon_tty_driver, &nfcon_tty_ops);
tty_port_link_device(&nfcon_tty_port, nfcon_tty_driver, 0);
res = tty_register_driver(nfcon_tty_driver);
if (res) {
pr_err("failed to register nfcon tty driver\n");
Expand Down

0 comments on commit 630ec70

Please sign in to comment.