summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-slave-system-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-slave-system-control.c')
-rw-r--r--drivers/spi/spi-slave-system-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-slave-system-control.c b/drivers/spi/spi-slave-system-control.c
index d37cfe995a63..8f5c32b61a5b 100644
--- a/drivers/spi/spi-slave-system-control.c
+++ b/drivers/spi/spi-slave-system-control.c
@@ -136,7 +136,7 @@ static void spi_slave_system_control_remove(struct spi_device *spi)
{
struct spi_slave_system_control_priv *priv = spi_get_drvdata(spi);
- spi_slave_abort(spi);
+ spi_target_abort(spi);
wait_for_completion(&priv->finished);
}