Patchwork powerpc/mv64x60: suspected typo in assignment

login
register
mail settings
Submitter Nicolas Kaiser
Date Oct. 22, 2010, 12:58 p.m.
Message ID <20101022145853.7216c41f@absol.kitzblitz>
Download mbox | patch
Permalink /patch/68866/
State Accepted
Commit ae39573a19e35122bd431a4f5c889823209168c7
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Nicolas Kaiser - Oct. 22, 2010, 12:58 p.m.
Untested, but looks like an obvious typo to me.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
---
 arch/powerpc/sysdev/mv64x60_dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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;