Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: sc16is7xx: Kconfig: allow building with COMPILE_TEST

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>

authored by

Hugo Villeneuve and committed by
Greg Kroah-Hartman
555d7b3d e92f83af

+1 -1
+1 -1
drivers/tty/serial/Kconfig
··· 1044 1044 1045 1045 config SERIAL_SC16IS7XX 1046 1046 tristate "NXP SC16IS7xx UART support" 1047 - depends on SPI_MASTER || I2C 1047 + depends on SPI_MASTER || I2C || COMPILE_TEST 1048 1048 select SERIAL_CORE 1049 1049 select SERIAL_SC16IS7XX_SPI if SPI_MASTER 1050 1050 select SERIAL_SC16IS7XX_I2C if I2C