Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;