tty from struct sdio_uart_port is unused. Proper refcounted tty in
tty_port->tty is used instead. So remove the member from that
structure.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
struct sdio_uart_port {
struct tty_port port;
struct kref kref;
struct sdio_uart_port {
struct tty_port port;
struct kref kref;
- struct tty_struct *tty;
unsigned int index;
struct sdio_func *func;
struct mutex func_lock;
unsigned int index;
struct sdio_func *func;
struct mutex func_lock;