X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fserial%2Fcpm_uart%2Fcpm_uart_core.c;h=bde4b4b0b80f08efe1f2c5db4da2fb7e0e61b9b5;hb=9301975ec251bab1ad7cfcb84a688b26187e4e4a;hp=e54574c49a380966add8feecbb3e025608518840;hpb=dd3a1db900f2a215a7d7dd71b836e149a6cf5fed;p=linux-2.6-omap-h63xx.git diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c index e54574c49a3..bde4b4b0b80 100644 --- a/drivers/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/serial/cpm_uart/cpm_uart_core.c @@ -1333,6 +1333,9 @@ static int __devinit cpm_uart_probe(struct of_device *ofdev, if (ret) return ret; + /* initialize the device pointer for the port */ + pinfo->port.dev = &ofdev->dev; + return uart_add_one_port(&cpm_reg, &pinfo->port); }