Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 7a2e8e3

Browse files
hvilleneuvedoogregkh
authored andcommitted
serial: sc16is7xx: re-add Kconfig SPI or I2C dependency
Commit d492164 ("serial: sc16is7xx: split into core and I2C/SPI parts (core)") removed Kconfig SPI_MASTER or I2C dependency for SERIAL_SC16IS7XX (core). This removal was done because I inadvertently misinterpreted some review comments. Because of that, the driver question now pops up if both I2C and SPI_MASTER are disabled. Re-add Kconfig SPI_MASTER or I2C dependency to fix the problem. Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org> Fixes: d492164 ("serial: sc16is7xx: split into core and I2C/SPI parts (core)") Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20240603152601.3689319-3-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4e534ff commit 7a2e8e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,7 @@ config SERIAL_SCCNXP_CONSOLE
10251025

10261026
config SERIAL_SC16IS7XX
10271027
tristate "NXP SC16IS7xx UART support"
1028+
depends on SPI_MASTER || I2C
10281029
select SERIAL_CORE
10291030
select SERIAL_SC16IS7XX_SPI if SPI_MASTER
10301031
select SERIAL_SC16IS7XX_I2C if I2C

0 commit comments

Comments
 (0)