Commit 0b993fc1 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

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: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20211117100512.5058-4-johan@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dd5e90b1
...@@ -1533,7 +1533,7 @@ config SERIAL_LITEUART ...@@ -1533,7 +1533,7 @@ config SERIAL_LITEUART
tristate "LiteUART serial port support" tristate "LiteUART serial port support"
depends on HAS_IOMEM depends on HAS_IOMEM
depends on OF || COMPILE_TEST depends on OF || COMPILE_TEST
depends on LITEX depends on LITEX || COMPILE_TEST
select SERIAL_CORE select SERIAL_CORE
help help
This driver is for the FPGA-based LiteUART serial controller from LiteX This driver is for the FPGA-based LiteUART serial controller from LiteX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment