]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/iomux.c
Migrate CONFIG_BOOTCOUNT_ALEN to Kconfig
[people/ms/u-boot.git] / common / iomux.c
index 62bdec61aaf79deb9c6477dab015b7fb3e9b6392..0e4e6803e7a832fe0ced120beb8d665ab3969762 100644 (file)
@@ -6,10 +6,11 @@
  */
 
 #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 */