Skip to content

Commit 0b993fc

Browse files
jhovoldgregkh
authored andcommitted
serial: liteuart: relax compile-test dependencies
The LITEX symbol is neither a build or runtime dependency for the liteuart serial driver. LITEX is selected by the "LiteX SoC Controller" driver, which does a probe-time register-access sanity check and panics if the SoC has not been configured correctly. That driver's Kconfig entry asserts that any LiteX driver using the LiteX register accessors should depend on LITEX, but currently only the serial driver complies. Relax this LITEX "dependency" in order to make it easier to compile test the driver. Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent dd5e90b commit 0b993fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ config SERIAL_LITEUART
15331533
tristate "LiteUART serial port support"
15341534
depends on HAS_IOMEM
15351535
depends on OF || COMPILE_TEST
1536-
depends on LITEX
1536+
depends on LITEX || COMPILE_TEST
15371537
select SERIAL_CORE
15381538
help
15391539
This driver is for the FPGA-based LiteUART serial controller from LiteX

0 commit comments

Comments
 (0)