|
@@ -589,6 +589,7 @@ static int altera_uart_probe(struct platform_device *pdev)
|
|
|
port->iotype = SERIAL_IO_MEM;
|
|
port->iotype = SERIAL_IO_MEM;
|
|
|
port->ops = &altera_uart_ops;
|
|
port->ops = &altera_uart_ops;
|
|
|
port->flags = UPF_BOOT_AUTOCONF;
|
|
port->flags = UPF_BOOT_AUTOCONF;
|
|
|
|
|
+ port->dev = &pdev->dev;
|
|
|
|
|
|
|
|
platform_set_drvdata(pdev, port);
|
|
platform_set_drvdata(pdev, port);
|
|
|
|
|
|