Remove 8250 port size hack
authorTony Lindgren <tony@atomide.com>
Thu, 4 Sep 2008 18:49:00 +0000 (11:49 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 4 Sep 2008 18:49:00 +0000 (11:49 -0700)
This will be fixed properly in the following patch.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/serial/8250.c

index 5a5f95f..17e4ad7 100644 (file)
@@ -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;