summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-ljca.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-ljca.c')
-rw-r--r--drivers/spi/spi-ljca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-ljca.c b/drivers/spi/spi-ljca.c
index c5a066c738..1cc1422ddb 100644
--- a/drivers/spi/spi-ljca.c
+++ b/drivers/spi/spi-ljca.c
@@ -223,7 +223,7 @@ static int ljca_spi_probe(struct auxiliary_device *auxdev,
struct ljca_spi_dev *ljca_spi;
int ret;
- controller = devm_spi_alloc_master(&auxdev->dev, sizeof(*ljca_spi));
+ controller = devm_spi_alloc_host(&auxdev->dev, sizeof(*ljca_spi));
if (!controller)
return -ENOMEM;