Re: [PATCH] serial: altera-juart: fix NULL device in log message

2014-12-16 Thread Tobias Klauser
On 2014-12-16 at 08:27:46 +0100, Ley Foon Tan wrote: > Add device pointer to port->dev. > > Before: > > "(NULL device *): ttyJ0 at MMIO 0x1008 (irq = 2, base_baud = 0) is a > Altera JTAG UART" > > After: > "altera_jtaguart 1008.serial: ttyJ0 at MMIO 0x1008 (irq = 2, base_baud = 0) > is a > Alt

[PATCH] serial: altera-juart: fix NULL device in log message

2014-12-15 Thread Ley Foon Tan
Add device pointer to port->dev. Before: "(NULL device *): ttyJ0 at MMIO 0x1008 (irq = 2, base_baud = 0) is a Altera JTAG UART" After: "altera_jtaguart 1008.serial: ttyJ0 at MMIO 0x1008 (irq = 2, base_baud = 0) is a Altera JTAG UART" Signed-off-by: Ley Foon Tan --- drivers/tty/serial/altera_j