]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/iomux.c
Merge git://git.denx.de/u-boot-usb
[people/ms/u-boot.git] / common / iomux.c
index cf4da45707522635d1f4f2ba3f4e2f9eacdae961..0e4e6803e7a832fe0ced120beb8d665ab3969762 100644 (file)
@@ -2,14 +2,15 @@
  * (C) Copyright 2008
  * Gary Jennejohn, DENX Software Engineering GmbH, garyj@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <console.h>
 #include <serial.h>
 #include <malloc.h>
 
-#ifdef CONFIG_CONSOLE_MUX
+#if CONFIG_IS_ENABLED(CONSOLE_MUX)
 void iomux_printdevs(const int console)
 {
        int i;
@@ -144,4 +145,4 @@ int iomux_doenv(const int console, const char *arg)
        free(cons_set);
        return 0;
 }
-#endif /* CONFIG_CONSOLE_MUX */
+#endif /* CONSOLE_MUX */