serial: sh-sci: Set the UPF_FIXED_PORT flag

The base address, IRQ and baud rate generator parent clock rate can't be
changed by userspace. Mark the port as fixed.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
Laurent Pinchart 2013-12-06 10:59:14 +01:00 committed by Simon Horman
parent b5e17b71c6
commit b6e4a3f18c
1 changed files with 1 additions and 1 deletions

View File

@ -2248,7 +2248,7 @@ static int sci_init_single(struct platform_device *dev,
port->mapbase = p->mapbase;
port->type = p->type;
port->flags = p->flags;
port->flags = UPF_FIXED_PORT | p->flags;
port->regshift = p->regshift;
/*