net: smc1111: fix platform data initializations
The configuration and control setup introduced in commit "extend the driver for 91c94 and 91c96 support" suffers from a typo defect, which makes the commit broken. The typo happens to be in barebox tree, while it's not in the tested patches I had, and there was a mismatch in my former submission, which is fixed by this patch. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
3fe92e8bad
commit
6393f1345a
|
@ -1435,8 +1435,8 @@ static int smc91c111_probe(struct device_d *dev)
|
|||
priv->shift = pdata->addr_shift;
|
||||
if (pdata->bus_width == 16)
|
||||
priv->a = access_via_16bit;
|
||||
pdata->config_setup = pdata->config_setup;
|
||||
pdata->control_setup = pdata->control_setup;
|
||||
priv->config_setup = pdata->config_setup;
|
||||
priv->control_setup = pdata->control_setup;
|
||||
}
|
||||
|
||||
edev->init = smc91c111_init_dev;
|
||||
|
|
Loading…
Reference in New Issue