mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] net: smc1111: fix platform data initializations
@ 2015-04-11 21:42 Robert Jarzmik
  2015-04-11 21:42 ` [PATCH 2/2] net: smc1111: add a quirk for pxa pxa27x platforms Robert Jarzmik
  2015-04-13  7:21 ` [PATCH 1/2] net: smc1111: fix platform data initializations Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Jarzmik @ 2015-04-11 21:42 UTC (permalink / raw)
  To: barebox

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>
---
 drivers/net/smc91111.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c
index 698c74a..bcb470c 100644
--- a/drivers/net/smc91111.c
+++ b/drivers/net/smc91111.c
@@ -1437,6 +1437,8 @@ static int smc91c111_probe(struct device_d *dev)
 			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;
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-13 17:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-11 21:42 [PATCH 1/2] net: smc1111: fix platform data initializations Robert Jarzmik
2015-04-11 21:42 ` [PATCH 2/2] net: smc1111: add a quirk for pxa pxa27x platforms Robert Jarzmik
2015-04-13  7:21 ` [PATCH 1/2] net: smc1111: fix platform data initializations Sascha Hauer
2015-04-13 17:53   ` Robert Jarzmik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox