Re: [PATCH 1/3] serial: liteuart: fix compile testing

From
Johan Hovold <johan@kernel.org>
Date
2021-11-17 09:07:11
Also in
lkml, stable
Reply to
Andy Shevchenko, 2021-11-16
On Tue, Nov 16, 2021 at 05:44:14PM +0200, Andy Shevchenko wrote:
On Mon, Nov 15, 2021 at 3:44 PM Johan Hovold [off-list ref] wrote:
quoted
Allow the liteuart driver to be compile tested by fixing the broken
Kconfig dependencies.
...
quoted
 config SERIAL_LITEUART
        tristate "LiteUART serial port support"
+       depends on LITEX || COMPILE_TEST
        depends on HAS_IOMEM
-       depends on OF || COMPILE_TEST
-       depends on LITEX
quoted
+       depends on OF
AFAICS this is optional and prevents compile testing in some cases.
Yeah, you're right; that clause should stay. I'll send a v2. Thanks.
quoted
        select SERIAL_CORE
        help
          This driver is for the FPGA-based LiteUART serial controller from LiteX
Johan
Thread (10 messages) 10 messages, 3 authors, last reply 2021-11-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help