projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82925e7
)
[POWERPC] 52xx: Fix mpc52xx_uart_of_assign to use correct index
author
John Rigby
<jrigby@freescale.com>
Wed, 23 May 2007 17:30:55 +0000
(11:30 -0600)
committer
Kumar Gala
<galak@kernel.crashing.org>
Fri, 14 Sep 2007 13:54:05 +0000
(08:54 -0500)
Use idx as index into mpc52xx_uart_nodes instead of i
Signed-off-by: John Rigby <jrigby@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/serial/mpc52xx_uart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/mpc52xx_uart.c
b/drivers/serial/mpc52xx_uart.c
index 35f8b86cc78fe3c9acb75626ff913b696d478b30..035cca0281995cfc12660bb4e47e24434560bcbc 100644
(file)
--- a/
drivers/serial/mpc52xx_uart.c
+++ b/
drivers/serial/mpc52xx_uart.c
@@
-1051,7
+1051,7
@@
mpc52xx_uart_of_assign(struct device_node *np, int idx)
/* If the slot is already occupied, then swap slots */
if (mpc52xx_uart_nodes[idx] && (free_idx != -1))
mpc52xx_uart_nodes[free_idx] = mpc52xx_uart_nodes[idx];
- mpc52xx_uart_nodes[i] = np;
+ mpc52xx_uart_nodes[i
dx
] = np;
}
static void