serial: define FIXED_PORT flag for serial_core
[linux-2.6.git] / drivers / serial / of_serial.c
index 09b0b736a751e6e4bbe9ff5537b1a143b6cbd06a..336d0f4580d9484f08955952efbb757e2d877769 100644 (file)
@@ -48,7 +48,8 @@ static int __devinit of_platform_serial_setup(struct of_device *ofdev,
        port->iotype = UPIO_MEM;
        port->type = type;
        port->uartclk = *clk;
-       port->flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_IOREMAP;
+       port->flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_IOREMAP
+               | UPF_FIXED_PORT;
        port->dev = &ofdev->dev;
        port->custom_divisor = *clk / (16 * (*spd));