X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fiomux.c;h=7cfd9f2e916206d1938e37071a651eb37d3bec4b;hb=cef1f0c7a41226cdefec41b01868f2b4702d487c;hp=3d8d00b4486e74a0c011e1c2986c7be997fb257a;hpb=24b852a7a2b8eca71789100983bdb5104cc00696;p=u-boot diff --git a/common/iomux.c b/common/iomux.c index 3d8d00b448..7cfd9f2e91 100644 --- a/common/iomux.c +++ b/common/iomux.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 * Gary Jennejohn, DENX Software Engineering GmbH, garyj@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -10,7 +9,7 @@ #include #include -#ifdef CONFIG_CONSOLE_MUX +#if CONFIG_IS_ENABLED(CONSOLE_MUX) void iomux_printdevs(const int console) { int i; @@ -145,4 +144,4 @@ int iomux_doenv(const int console, const char *arg) free(cons_set); return 0; } -#endif /* CONFIG_CONSOLE_MUX */ +#endif /* CONSOLE_MUX */