[PATCH] powerpc/mv64x60: suspected typo in assignment
Nicolas Kaiser
nikai at nikai.net
Fri Oct 22 23:58:53 EST 2010
Untested, but looks like an obvious typo to me.
Signed-off-by: Nicolas Kaiser <nikai at nikai.net>
---
arch/powerpc/sysdev/mv64x60_dev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/sysdev/mv64x60_dev.c b/arch/powerpc/sysdev/mv64x60_dev.c
index 1398bc4..a2c4999 100644
--- a/arch/powerpc/sysdev/mv64x60_dev.c
+++ b/arch/powerpc/sysdev/mv64x60_dev.c
@@ -345,7 +345,7 @@ static int __init mv64x60_i2c_device_setup(struct device_node *np, int id)
if (prop)
pdata.freq_m = *prop;
- pdata.freq_m = 3; /* default */
+ pdata.freq_n = 3; /* default */
prop = of_get_property(np, "freq_n", NULL);
if (prop)
pdata.freq_n = *prop;
--
1.7.2.2
More information about the Linuxppc-dev
mailing list