* [PATCH] 8250: Initialize more fields in early_serial_setup.
@ 2009-01-13 20:46 David Daney
2009-01-14 17:30 ` David Daney
0 siblings, 1 reply; 2+ messages in thread
From: David Daney @ 2009-01-13 20:46 UTC (permalink / raw)
To: linux-mips; +Cc: David Daney
The initial patch that initialized the fields individually omitted a
couple that evidently are required by mips/rb532. This should fix it.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
drivers/serial/8250.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 1889a63..e2c3a85 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2837,6 +2837,8 @@ int __init early_serial_setup(struct uart_port *port)
p->regshift = port->regshift;
p->iotype = port->iotype;
p->flags = port->flags;
+ p->type = port->type;
+ p->line = port->line;
p->mapbase = port->mapbase;
p->private_data = port->private_data;
--
1.5.6.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] 8250: Initialize more fields in early_serial_setup.
2009-01-13 20:46 [PATCH] 8250: Initialize more fields in early_serial_setup David Daney
@ 2009-01-14 17:30 ` David Daney
0 siblings, 0 replies; 2+ messages in thread
From: David Daney @ 2009-01-14 17:30 UTC (permalink / raw)
To: linux-mips
David Daney wrote:
> The initial patch that initialized the fields individually omitted a
> couple that evidently are required by mips/rb532. This should fix it.
>
> Signed-off-by: David Daney <ddaney@caviumnetworks.com>
> ---
> drivers/serial/8250.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
> index 1889a63..e2c3a85 100644
> --- a/drivers/serial/8250.c
> +++ b/drivers/serial/8250.c
> @@ -2837,6 +2837,8 @@ int __init early_serial_setup(struct uart_port *port)
> p->regshift = port->regshift;
> p->iotype = port->iotype;
> p->flags = port->flags;
> + p->type = port->type;
> + p->line = port->line;
> p->mapbase = port->mapbase;
> p->private_data = port->private_data;
>
Some one got to this before I did. Linus already committed a
substantially similar patch as 125c97d8a59888c5678734c2b70cbd08c847bd99
David Daney
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-14 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 20:46 [PATCH] 8250: Initialize more fields in early_serial_setup David Daney
2009-01-14 17:30 ` David Daney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox