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

- From: Andy Shevchenko \<hidden\>
- Date: 2021-11-16 15:45:13 
- List: linux-serial
- Page: https://ratatoskr.run/linux-serial/2021/11/1576524
- Thread: https://ratatoskr.run/linux-serial/2021/11/1572257/t.md

```text
On Mon, Nov 15, 2021 at 3:44 PM Johan Hovold [ref] wrote:
>
> Allow the liteuart driver to be compile tested by fixing the broken
> Kconfig dependencies.

...

>  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

> +       depends on OF

AFAICS this is optional and prevents compile testing in some cases.

>         select SERIAL_CORE
>         help
>           This driver is for the FPGA-based LiteUART serial controller from LiteX


-- 
With Best Regards,
Andy Shevchenko
```
