diff --git a/drivers/spi/spi-aurix-tegra.c b/drivers/spi/spi-aurix-tegra.c index 6e101547..331f8862 100644 --- a/drivers/spi/spi-aurix-tegra.c +++ b/drivers/spi/spi-aurix-tegra.c @@ -370,7 +370,7 @@ static int aurix_tegra_start_kthread(struct device *dev) /* * remove, shutdown, suspend, resume functions */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 19, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0) static int aurix_tegra_spi_remove(struct spi_device *spi) { return aurix_tegra_stop_kthread(&spi->dev);