From 59abdb0edf8d21ddf709b84eaf8e0ee6c049ce36 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 4 Sep 2008 11:49:00 -0700 Subject: [PATCH] Remove 8250 port size hack This will be fixed properly in the following patch. Signed-off-by: Tony Lindgren --- drivers/serial/8250.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 5a5f95f7752..17e4ad795c2 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c @@ -2283,11 +2283,6 @@ static int serial8250_request_std_resource(struct uart_8250_port *up) unsigned int size = 8 << up->port.regshift; int ret = 0; -#ifdef CONFIG_ARCH_OMAP - if (is_omap_port((unsigned int)up->port.membase)) - size = 0x16 << up->port.regshift; -#endif - switch (up->port.iotype) { case UPIO_AU: size = 0x100000; -- 2.41.1