Skip to content

Commit 555d7b3

Browse files
hvilleneuvedoogregkh
authored andcommitted
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>
1 parent e92f83a commit 555d7b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ config SERIAL_SCCNXP_CONSOLE
10441044

10451045
config SERIAL_SC16IS7XX
10461046
tristate "NXP SC16IS7xx UART support"
1047-
depends on SPI_MASTER || I2C
1047+
depends on SPI_MASTER || I2C || COMPILE_TEST
10481048
select SERIAL_CORE
10491049
select SERIAL_SC16IS7XX_SPI if SPI_MASTER
10501050
select SERIAL_SC16IS7XX_I2C if I2C

0 commit comments

Comments
 (0)