Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8942
b: refs/heads/master
c: ef4cbee
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Linus Torvalds committed Sep 14, 2005
1 parent 8feeaad commit 6f1d341
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8b7fc4214b550fafe595330e28d7c2c72b8b62f6
refs/heads/master: ef4cbee0b0d0f791bb593f99b702410f3c0efce6
6 changes: 3 additions & 3 deletions trunk/drivers/char/hvc_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,9 +839,6 @@ int __init hvc_init(void)
hvc_driver->flags = TTY_DRIVER_REAL_RAW;
tty_set_operations(hvc_driver, &hvc_ops);

if (tty_register_driver(hvc_driver))
panic("Couldn't register hvc console driver\n");

/* Always start the kthread because there can be hotplug vty adapters
* added later. */
hvc_task = kthread_run(khvcd, NULL, "khvcd");
Expand All @@ -851,6 +848,9 @@ int __init hvc_init(void)
return -EIO;
}

if (tty_register_driver(hvc_driver))
panic("Couldn't register hvc console driver\n");

return 0;
}
module_init(hvc_init);
Expand Down

0 comments on commit 6f1d341

Please sign in to comment.