summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-altera-dfl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-altera-dfl.c')
-rw-r--r--drivers/spi/spi-altera-dfl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-altera-dfl.c b/drivers/spi/spi-altera-dfl.c
index 44fc9ee13fc7..ca40923258af 100644
--- a/drivers/spi/spi-altera-dfl.c
+++ b/drivers/spi/spi-altera-dfl.c
@@ -134,7 +134,7 @@ static int dfl_spi_altera_probe(struct dfl_device *dfl_dev)
if (!master)
return -ENOMEM;
- master->bus_num = dfl_dev->id;
+ master->bus_num = -1;
hw = spi_master_get_devdata(master);