Skip to content

Commit

Permalink
tiny: rename ENABLE_DEV_COREDUMP to ALLOW_DEV_COREDUMP
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and Greg Kroah-Hartman committed Nov 7, 2014
1 parent 9c60269 commit cd3d9ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/base/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit cd3d9ea

Please sign in to comment.