]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 5a5f95f7752301f39dc7057e035cd403f64d3ad8..17e4ad795c2128c3fc3944090a0fc7118a3ed0ce 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;