[PATCH] 8250: Initialize more fields in early_serial_setup.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
 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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux