From: Alan Cox Date: Tue, 1 Jun 2010 20:52:53 +0000 (+0200) Subject: tty: serial - fix tty referencing in set_ldisc X-Git-Tag: v2.6.36-rc1~294^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d87d9b7d19f04b16c4406d3c0feeca10090e0ada;p=pandora-kernel.git tty: serial - fix tty referencing in set_ldisc Pass down the ldisc number so that the drivers don't have to peek into the tty object themselves. This lets us get rid of another case of back referencing port to tty which we don't want (because of races versus hangup/close). Signed-off-by: Alan Cox Cc: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed