if "CONFIG_DEV_COREDUMP=y" is added to configuration file, it
gets removed when final configuration file is generated. The
reason is it requires CONFIG_WANT_DEV_COREDUMP to be enabled.

Currently "make menuconfig" doesn't display an option to enable
WANT_DEV_COREDUMP. This patch updates Kconfig so that user can
enable WANT_DEV_COREDUMP.

Signed-off-by: Amitkumar Karwar <akarwar at marvell.com>
Signed-off-by: Xinming Hu <huxm at marvell.com>
Tested-by: Xinming Hu <huxm at marvell.com>
---
 drivers/base/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 61a33f4..e491b07 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -166,7 +166,7 @@ config FW_LOADER_USER_HELPER_FALLBACK
          If you are unsure about this, say N here.

 config WANT_DEV_COREDUMP
-       bool
+       bool "Want device coredump"
        help
          Drivers should "select" this option if they desire to use the
          device coredump mechanism.
-- 
1.8.1.4

Reply via email to