]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
serial: sc16is7xx: Kconfig: allow building with COMPILE_TEST
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Mon, 27 Oct 2025 14:29:52 +0000 (10:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2025 14:25:41 +0000 (15:25 +0100)
Add COMPILE_TEST as an option to allow test building the driver.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/all/20240604083159.d984dd08741396ea4ca46418@hugovil.com/raw
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20251027142957.1032073-11-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 282116765e6481b6feaa9fd59995c18d240138e1..59221cce0028f635e586721196f075f8ac7e2049 100644 (file)
@@ -1044,7 +1044,7 @@ config SERIAL_SCCNXP_CONSOLE
 
 config SERIAL_SC16IS7XX
        tristate "NXP SC16IS7xx UART support"
-       depends on SPI_MASTER || I2C
+       depends on SPI_MASTER || I2C || COMPILE_TEST
        select SERIAL_CORE
        select SERIAL_SC16IS7XX_SPI if SPI_MASTER
        select SERIAL_SC16IS7XX_I2C if I2C