]> git.ipfire.org Git - thirdparty/linux.git/commit
serial: max310x: allow driver to be built with SPI or I2C
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Fri, 17 Apr 2026 14:53:35 +0000 (10:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 15:20:18 +0000 (17:20 +0200)
commit20ffe4b3330a8bde9e933e9ba2323d5e9386caa5
tree295f3c3f24d42389317c0c4fbdfbb760b813a698
parent877c2556adb7758ada3af8a1e87a217ed21c6ef4
serial: max310x: allow driver to be built with SPI or I2C

If SPI is disabled, the max310x driver cannot be selected. Allow driver to
be selected if either I2C or SPI is set.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20260417-max310x-2-v1-8-b424e105ecac@dimonoff.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig