diff options
| author | Simon Glass <[email protected]> | 2023-02-05 15:39:32 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-02-09 16:32:26 -0500 |
| commit | 43512276da480b88eb432aca08e808d56893f166 (patch) | |
| tree | 19fa378772fcd198f0a095a71b3e44f182c46066 /drivers | |
| parent | 7c31107249da086c44cd4ab930941c921a233a6e (diff) | |
Correct SPL use of DEBUG_UART_ZYNQ
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_DEBUG_UART_ZYNQ defined in Kconfig
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/serial/serial_zynq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c index 4b1818313a8..9bb9b7d3b8d 100644 --- a/drivers/serial/serial_zynq.c +++ b/drivers/serial/serial_zynq.c @@ -108,7 +108,7 @@ static void _uart_zynq_serial_init(struct uart_zynq *regs) static int _uart_zynq_serial_putc(struct uart_zynq *regs, const char c) { - if (CONFIG_IS_ENABLED(DEBUG_UART_ZYNQ)) { + if (IS_ENABLED(CONFIG_DEBUG_UART_ZYNQ)) { if (!(readl(®s->channel_sts) & ZYNQ_UART_SR_TXEMPTY)) return -EAGAIN; } else { |
