diff options
author | Corey Minyard <cminyard@mvista.com> | 2010-02-01 09:37:46 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-04-07 14:12:36 +1000 |
commit | f467bc148d05a1465211102804858df9c667f8b9 (patch) | |
tree | 875e3f76150b8601b9dd7402b7bbf4b85798e114 /drivers/serial/mpsc.c | |
parent | 58706ef96fa10edad1ce492313c8314cd5916fbe (diff) | |
download | op-kernel-dev-f467bc148d05a1465211102804858df9c667f8b9.zip op-kernel-dev-f467bc148d05a1465211102804858df9c667f8b9.tar.gz |
powerpc/mpsc: Set the port device in the mpsc serial driver
The mpsc serial driver needx to set the port's device tree element
to register properly.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/serial/mpsc.c')
-rw-r--r-- | drivers/serial/mpsc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/mpsc.c b/drivers/serial/mpsc.c index 55e113a..6a9c660 100644 --- a/drivers/serial/mpsc.c +++ b/drivers/serial/mpsc.c @@ -2071,6 +2071,7 @@ static int mpsc_drv_probe(struct platform_device *dev) if (!(rc = mpsc_drv_map_regs(pi, dev))) { mpsc_drv_get_platform_data(pi, dev, dev->id); + pi->port.dev = &dev->dev; if (!(rc = mpsc_make_ready(pi))) { spin_lock_init(&pi->tx_lock); |