|
@@ -89,6 +89,7 @@ static int of_platform_serial_setup(struct platform_device *ofdev,
|
|
|
|
|
|
|
|
spin_lock_init(&port->lock);
|
|
spin_lock_init(&port->lock);
|
|
|
port->mapbase = resource.start;
|
|
port->mapbase = resource.start;
|
|
|
|
|
+ port->mapsize = resource_size(&resource);
|
|
|
|
|
|
|
|
/* Check for shifted address mapping */
|
|
/* Check for shifted address mapping */
|
|
|
if (of_property_read_u32(np, "reg-offset", &prop) == 0)
|
|
if (of_property_read_u32(np, "reg-offset", &prop) == 0)
|