Skip to content

Commit 0431b7e

Browse files
committed
spi: legacy-spi-engine: no offload support as a module
No offload support for builtin users when using the legacy driver as a module. Signed-off-by: Jorge Marques <[email protected]>
1 parent 52e6fed commit 0431b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/spi/legacy-spi-engine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef _INCLUDE_LINUX_SPI_SPI_ENGINE_H_
1010
#define _INCLUDE_LINUX_SPI_SPI_ENGINE_H_
1111

12-
#ifdef CONFIG_SPI_AXI_SPI_ENGINE
12+
#if IS_REACHABLE(CONFIG_SPI_AXI_SPI_ENGINE)
1313

1414
bool legacy_spi_engine_offload_supported(struct spi_device *spi);
1515
void legacy_spi_engine_offload_enable(struct spi_device *spi, bool enable);

0 commit comments

Comments
 (0)