commit | e5404586a499f7dce915456e85ff94b2df7a3b1c | [log] [tgz] |
---|---|---|
author | Kevin Hao <kexin.hao@windriver.com> | Mon Dec 01 11:36:16 2008 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 01 08:19:10 2008 -0800 |
tree | 1e40e93b332e9e9399ab15345dc0c487d6237649 | |
parent | 296fa7f6a3f3342d40df7713e74246198295654b [diff] |
Add kref to fake tty used by USB console We alloc a fake tty in usb serial console setup function. we should init the tty's kref otherwise we will face WARN_ON after following invoke of tty_port_tty_set --> tty_kref_get. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>