Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> --- drivers/spi/atmel_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c index 43aec8e..3375f81 100644 --- a/drivers/spi/atmel_spi.c +++ b/drivers/spi/atmel_spi.c @@ -265,6 +265,7 @@ static int atmel_spi_probe(struct device_d *dev) master = &as->master; master->dev = dev; + master->bus_num = dev->id; as->clk = clk_get(dev, "spi_clk"); if (IS_ERR(as->clk)) { -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox