summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-10-30 10:00:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 20:07:35 +0100
commitcd3d9ea142c9fd47351e79fe30c7ae2c86302cda (patch)
treee086c8f948d527a6d8bf54a0ef0f173cf110dfb7
parenttiny: reverse logic for DISABLE_DEV_COREDUMP (diff)
downloadlinux-cd3d9ea142c9fd47351e79fe30c7ae2c86302cda.tar.xz
linux-cd3d9ea142c9fd47351e79fe30c7ae2c86302cda.zip
tiny: rename ENABLE_DEV_COREDUMP to ALLOW_DEV_COREDUMP
The ENABLE_DEV_COREDUMP option is misleading as it implies that it gets the framework enabled, this isn't true it just allows it to get enabled if a driver needs it. Rename it to ALLOW_DEV_COREDUMP to better capture its semantics. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Acked-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/base/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index c29d1600e90b..df04227d00cf 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -171,8 +171,8 @@ config WANT_DEV_COREDUMP
Drivers should "select" this option if they desire to use the
device coredump mechanism.
-config ENABLE_DEV_COREDUMP
- bool "Enable device coredump" if EXPERT
+config ALLOW_DEV_COREDUMP
+ bool "Allow device coredump" if EXPERT
default y
help
This option controls if the device coredump mechanism is available or
@@ -187,7 +187,7 @@ config ENABLE_DEV_COREDUMP
config DEV_COREDUMP
bool
default y if WANT_DEV_COREDUMP
- depends on ENABLE_DEV_COREDUMP
+ depends on ALLOW_DEV_COREDUMP
config DEBUG_DRIVER
bool "Driver Core verbose debug messages"