From: Alan Cox Date: Fri, 2 Jan 2009 13:49:21 +0000 (+0000) Subject: tty: We want the port object to be persistent X-Git-Tag: v2.6.29-rc1~545^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f751928e0ddf54ea4fe5546f35e99efc5b5d9938;p=pandora-kernel.git tty: We want the port object to be persistent Move the tty_port and uart_info bits around a little. By embedding the uart_info into the uart_port we get rid of lots of corner case testing and also get the ability to go port<->state<->info which is a bit more elegant than the current data structures. Downsides - we allocate a tiny bit more memory for unused ports, upside we've removed as much code as it saved for most users.. Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed