sdio_uart: refcount the tty objects
authorAlan Cox <alan@linux.intel.com>
Thu, 5 Nov 2009 13:28:29 +0000 (13:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:05 +0000 (15:18 -0800)
commit530646f4695b396aeeec2ca912dcc3a9c95e0f52
tree497560a2cd9c8d1e6022e0553bf2fe9c794bf95a
parent0395b48c78ed822f251ab15d0fbc3ce06f41ffb1
sdio_uart: refcount the tty objects

The tty can go away underneath us, so we must refcount it. Do the na├»ve
implementation initially. We will worry about startup shortly.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/card/sdio_uart.c