mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] imx_spi: fix bus-num setup
@ 2013-02-21  9:20 Hubert Feurstein
  2013-02-21 14:08 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Hubert Feurstein @ 2013-02-21  9:20 UTC (permalink / raw)
  To: barebox

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
---
 drivers/spi/imx_spi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/imx_spi.c b/drivers/spi/imx_spi.c
index 71fac3d..950180f 100644
--- a/drivers/spi/imx_spi.c
+++ b/drivers/spi/imx_spi.c
@@ -533,6 +533,7 @@ static int imx_spi_probe(struct device_d *dev)
 
 	master = &imx->master;
 	master->dev = dev;
+	master->bus_num = dev->id;
 
 	master->setup = imx_spi_setup;
 	master->transfer = imx_spi_transfer;
-- 
1.8.1.3


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

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

end of thread, other threads:[~2013-02-21 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-21  9:20 [PATCH] imx_spi: fix bus-num setup Hubert Feurstein
2013-02-21 14:08 ` Sascha Hauer

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