From: Al Viro Date: Fri, 9 Sep 2011 23:45:42 +0000 (-0400) Subject: um: switch line.c tty drivers to dynamic device creation X-Git-Tag: v3.4-rc1~81^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfe6b7c79daa0efa27f474f1fe2a88fd7af5cc47;p=pandora-kernel.git um: switch line.c tty drivers to dynamic device creation Current code doesn't update the symlinks in /sys/dev/char when we add/remove tty lines. Fixing that allows to stop messing with ->valid before the driver registration, which is a Good Thing(tm) - we shouldn't have it set before we really have the things set up and ready for line_open(). We need tty_driver available to call tty_{un,}register_device(), so we just stash a reference to it into struct line_driver. Signed-off-by: Al Viro Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed