projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58706ef
)
powerpc/mpsc: Set the port device in the mpsc serial driver
author
Corey Minyard
<cminyard@mvista.com>
Mon, 1 Feb 2010 09:37:46 +0000
(09:37 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 7 Apr 2010 04:12:36 +0000
(14:12 +1000)
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>
drivers/serial/mpsc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/mpsc.c
b/drivers/serial/mpsc.c
index 55e113a0be0332631f500e36ca560441db63092d..6a9c6605666a103d8ae45f254537775796f8bb0d 100644
(file)
--- 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);