Commit c75efab2 authored by Russell King's avatar Russell King

[SERIAL] Fix initialiser warnings for HUB6 ports

We were missing an element in the old_serial_port structure.
parent c249c322
......@@ -1707,6 +1707,7 @@ static void __init serial8250_isa_init_ports(void)
serial8250_ports[i].port.irq = irq_cannonicalize(old_serial_port[i].irq);
serial8250_ports[i].port.uartclk = old_serial_port[i].base_baud * 16;
serial8250_ports[i].port.flags = old_serial_port[i].flags;
serial8250_ports[i].port.hub6 = old_serial_port[i].hub6;
serial8250_ports[i].port.ops = &serial8250_pops;
}
}
......
......@@ -34,6 +34,7 @@ struct old_serial_port {
unsigned int port;
unsigned int irq;
unsigned int flags;
unsigned char hub6;
};
#undef SERIAL_DEBUG_PCI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment