struct resource *res = NULL, *res_rsa = NULL;
int ret = 0;
- if (up->port.flags & UPF_RESOURCES) {
- ret = serial8250_request_std_resource(up, &res);
- }
+ ret = serial8250_request_std_resource(up, &res);
/*
* If we have a mapbase, then request that as well.
up->port.iobase = old_serial_port[i].port;
up->port.irq = old_serial_port[i].irq;
up->port.uartclk = get_au1x00_uart_baud_base();
- up->port.flags = old_serial_port[i].flags |
- UPF_RESOURCES;
+ up->port.flags = old_serial_port[i].flags;
up->port.hub6 = old_serial_port[i].hub6;
up->port.membase = old_serial_port[i].iomem_base;
up->port.iotype = old_serial_port[i].io_type;