]> git.neil.brown.name Git - history.git/commitdiff
[SERIAL] Remove old RSA resource handlign.
authorRussell King <rmk@flint.arm.linux.org.uk>
Fri, 2 Jan 2004 19:36:52 +0000 (19:36 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Fri, 2 Jan 2004 19:36:52 +0000 (19:36 +0000)
The resource handling left in autoconfig() is plainly wrong, since
we've already claimed the necessary resources prior to calling
autoconfig().  Therefore, we remove the superfluous code from
autoconfig().

drivers/serial/8250.c

index 8256f8ea5a63f754b586fc626f713b566417f1a2..e1cf834f0f6fb988fea3e7faff476fb83c50698d 100644 (file)
@@ -726,13 +726,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
  out:  
        spin_unlock_irqrestore(&up->port.lock, flags);
 //     restore_flags(flags);
-#ifdef CONFIG_SERIAL_8250_RSA
-       if (up->port.iobase && up->port.type == PORT_RSA) {
-               release_region(up->port.iobase, 8);
-               request_region(up->port.iobase + UART_RSA_BASE, 16,
-                              "serial_rsa");
-       }
-#endif
        DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name);
 }