From: Kevin Hao Date: Mon, 1 Dec 2008 11:36:16 +0000 (+0000) Subject: Add kref to fake tty used by USB console X-Git-Tag: v2.6.28-rc7~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5404586a499f7dce915456e85ff94b2df7a3b1c;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed