From 055bf15bcc84cf0881df99bc2b8a68d25fbf2436 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Fri, 6 May 2016 15:39:29 +0100 Subject: HACK: tty: pl011: remove iotype from console_match Because we currently do not have IDs to uniquely identify SBSA vs SBSA32 vs PL011 UARTS in DSDT kludge it by not checking the iotype for now. Signed-off-by: Graeme Gregory --- drivers/tty/serial/amba-pl011.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 430838fefb8a..07e08e2484d7 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2232,8 +2232,6 @@ static int __init pl011_console_match(struct console *co, char *name, int idx, port = &amba_ports[i]->port; - if (port->iotype != iotype) - continue; if ((iotype == UPIO_MEM || iotype == UPIO_MEM32) && (port->mapbase != addr)) continue; -- cgit v1.2.3