From: Jiri Slaby Date: Wed, 9 Nov 2011 20:33:19 +0000 (+0100) Subject: TTY: extract /dev/tty handling from tty_open X-Git-Tag: v3.3-rc1~154^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b82154ac37a7d12335c7c3d3c34c549171ec0cb4;p=pandora-kernel.git TTY: extract /dev/tty handling from tty_open This one is special to others (done in the next patch). We have the tty directly, not its driver and index. So this will reside in a separation function. In the next patch, the rest will be moved to another function. So now we set neither driver nor index. Hence we need to init driver and check whether we are supposed to put a ref of that. Signed-off-by: Jiri Slaby Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed