From: Dmitry Eremin-Solenikov Date: Mon, 9 Aug 2010 14:22:49 +0000 (+0400) Subject: tty: add tty_struct->dev pointer to corresponding device instance X-Git-Tag: v2.6.37-rc1~155^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30004ac9c090dcdcca99556b4587b3bad828731a;p=pandora-kernel.git tty: add tty_struct->dev pointer to corresponding device instance Some device drivers (mostly tty line disciplines) would like to have way know a struct device instance corresponding to passed tty_struct. Add a struct device pointer to struct tty_struct and populate it during initialize_tty_struct(). Signed-off-by: Dmitry Eremin-Solenikov Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed