cli: Add explicit kconfig dependency for CONFIG_IS_ENABLED macro

Pavel Korotkevich pawday at mail.ru
Sun Aug 6 01:32:52 CEST 2023


 From fe2ceb7c4365112055ecfc3bbf68ad47330b744d Mon Sep 17 00:00:00 2001
From: Pavel Korotkevich <pawday at mail.ru>
Date: Sun, 6 Aug 2023 02:00:41 +0300
Subject: [PATCH] cli: Add explicit kconfig dependency for 
CONFIG_IS_ENABLED macro

---
  include/cli.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/include/cli.h b/include/cli.h
index 094a6602d7..d6dbbde070 100644
--- a/include/cli.h
+++ b/include/cli.h
@@ -9,6 +9,8 @@

  #include <stdbool.h>

+#include <linux/kconfig.h>
+
  /**
   * struct cli_ch_state - state information for reading cmdline characters
   *
-- 
2.39.0



More information about the U-Boot mailing list