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