/* Look up and bind the tty and the driver together. Initialize any needed private data (in our case the termios)  */
static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty)
/* Look up and bind the tty and the driver together. Initialize any needed private data (in our case the termios)  */
static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty)
{
	int idx = tty->index;
	struct sdio_uart_port *port = sdio_uart_port_get(idx);
	int ret = tty_init_termios(tty);
	if (ret == 0) {
		tty_driver_kref_get(driver);
		tty->count++;
		tty->driver_data = port;
		driver->ttys[idx] = tty;
	} else
		sdio_uart_port_put(port);
	return ret;
}