From: Ley Foon Tan Date: Tue, 16 Dec 2014 07:27:46 +0000 (+0800) Subject: serial: altera-juart: fix NULL device in log message X-Git-Tag: fixes-v4.0-rc1~98^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47ef6df27e0b420b44966043935ca96791184782;p=pandora-kernel.git serial: altera-juart: fix NULL device in log message 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 Acked-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed