Skip to contentSkip to conversation

powerpc/mv64x60: suspected typo in assignment

PATCH New Nicolas Kaiser 1 participant 1 message Oct 22, 2010 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/mv64x60: suspected typo in assignment

Untested, but looks like an obvious typo to me.

---
 arch/powerpc/sysdev/mv64x60_dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/sysdev/mv64x60_dev.c +1 -1
index 1398bc4..a2c4999 100644
@@ -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;
Signature · 1 line
1.7.2.2