|
@@ -705,7 +705,7 @@ mpc52xx_uart_verify_port(struct uart_port *port, struct serial_struct *ser)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
if ((ser->irq != port->irq) ||
|
|
if ((ser->irq != port->irq) ||
|
|
- (ser->io_type != SERIAL_IO_MEM) ||
|
|
|
|
|
|
+ (ser->io_type != UPIO_MEM) ||
|
|
(ser->baud_base != port->uartclk) ||
|
|
(ser->baud_base != port->uartclk) ||
|
|
(ser->iomem_base != (void *)port->mapbase) ||
|
|
(ser->iomem_base != (void *)port->mapbase) ||
|
|
(ser->hub6 != 0))
|
|
(ser->hub6 != 0))
|