serial: copy UART properties of UPF_FIXED_TYPE ports provisioned using early_serial_setup
authorShmulik Ladkani <shmulik@jungo.com>
Wed, 9 Dec 2009 20:31:29 +0000 (12:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:43:07 +0000 (14:43 -0800)
commitb5d228cc4f854aebcefac987d111fc072ecd15e0
tree3663199cff0d18cf78a6da2fc03696708cb914e6
parentccf68e59e93181df9353c0cc721459d18ff200b6
serial: copy UART properties of UPF_FIXED_TYPE ports provisioned using early_serial_setup

Augment the UPF_FIXED_TYPE logic, which currently applies to UART ports
provisioned using platform_device_register.

The suggested patch applies same logic into 'serial8250_register_ports',
making UART ports provisioned using early_serial_setup inherit their
properties from the uart_config entry.

Signed-off-by: Shmulik Ladkani <shmulik@jungo.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/8250.c