Commit ae39573a authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Benjamin Herrenschmidt

powerpc/mv64x60: Suspected typo in assignment

Untested, but looks like an obvious typo to me.

[BenH: No feedback, but it's obviously wrong]
Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent dd9c1549
...@@ -346,7 +346,7 @@ static int __init mv64x60_i2c_device_setup(struct device_node *np, int id) ...@@ -346,7 +346,7 @@ static int __init mv64x60_i2c_device_setup(struct device_node *np, int id)
if (prop) if (prop)
pdata.freq_m = *prop; pdata.freq_m = *prop;
pdata.freq_m = 3; /* default */ pdata.freq_n = 3; /* default */
prop = of_get_property(np, "freq_n", NULL); prop = of_get_property(np, "freq_n", NULL);
if (prop) if (prop)
pdata.freq_n = *prop; pdata.freq_n = *prop;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment