serial_ns16550: handle default reg-io-width
According to the device tree bindings for 8250, width is an optional property.
Default to 1 which is the same default value as used by the kernel.
Before this change the driver would not work for device trees which do not
include the optional binding.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9c3fe58 commit de698980f33e6f4f457e38a0b77494de4752feae
@Rouven Czerwinski Rouven Czerwinski authored on 15 Jan 2019
Sascha Hauer committed on 5 Feb 2019
Showing 1 changed file
View
drivers/serial/serial_ns16550.c