Commit 7693c79c authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Greg Kroah-Hartman

serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag

serial8250_register_8250_port adds it to all ports it
registers. No need to set it separately.
Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2338a75e
...@@ -363,7 +363,7 @@ static int dw8250_probe(struct platform_device *pdev) ...@@ -363,7 +363,7 @@ static int dw8250_probe(struct platform_device *pdev)
p->handle_irq = dw8250_handle_irq; p->handle_irq = dw8250_handle_irq;
p->pm = dw8250_do_pm; p->pm = dw8250_do_pm;
p->type = PORT_8250; p->type = PORT_8250;
p->flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_FIXED_PORT; p->flags = UPF_SHARE_IRQ | UPF_FIXED_PORT;
p->dev = &pdev->dev; p->dev = &pdev->dev;
p->iotype = UPIO_MEM; p->iotype = UPIO_MEM;
p->serial_in = dw8250_serial_in; p->serial_in = dw8250_serial_in;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment