diff options
Diffstat (limited to 'drivers/tty/serial/sunsu.c')
| -rw-r--r-- | drivers/tty/serial/sunsu.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index 72df2e1b88af..95d34d7565c9 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c @@ -958,7 +958,7 @@ sunsu_type(struct uart_port *port)  	return uart_config[type].name;  } -static struct uart_ops sunsu_pops = { +static const struct uart_ops sunsu_pops = {  	.tx_empty	= sunsu_tx_empty,  	.set_mctrl	= sunsu_set_mctrl,  	.get_mctrl	= sunsu_get_mctrl, @@ -1212,8 +1212,8 @@ static int sunsu_kbd_ms_init(struct uart_sunsu_port *up)  	if (up->port.type == PORT_UNKNOWN)  		return -ENODEV; -	printk("%s: %s port at %llx, irq %u\n", -	       up->port.dev->of_node->full_name, +	printk("%pOF: %s port at %llx, irq %u\n", +	       up->port.dev->of_node,  	       (up->su_type == SU_PORT_KBD) ? "Keyboard" : "Mouse",  	       (unsigned long long) up->port.mapbase,  	       up->port.irq);  | 
