提交 cd3d9ea1 编写于 作者: J Johannes Berg 提交者: Greg Kroah-Hartman

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: NJohannes Berg <johannes.berg@intel.com>
Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
Acked-by: NAristeu Rozanski <aris@redhat.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 9c602699
...@@ -171,8 +171,8 @@ config WANT_DEV_COREDUMP ...@@ -171,8 +171,8 @@ config WANT_DEV_COREDUMP
Drivers should "select" this option if they desire to use the Drivers should "select" this option if they desire to use the
device coredump mechanism. device coredump mechanism.
config ENABLE_DEV_COREDUMP config ALLOW_DEV_COREDUMP
bool "Enable device coredump" if EXPERT bool "Allow device coredump" if EXPERT
default y default y
help help
This option controls if the device coredump mechanism is available or This option controls if the device coredump mechanism is available or
...@@ -187,7 +187,7 @@ config ENABLE_DEV_COREDUMP ...@@ -187,7 +187,7 @@ config ENABLE_DEV_COREDUMP
config DEV_COREDUMP config DEV_COREDUMP
bool bool
default y if WANT_DEV_COREDUMP default y if WANT_DEV_COREDUMP
depends on ENABLE_DEV_COREDUMP depends on ALLOW_DEV_COREDUMP
config DEBUG_DRIVER config DEBUG_DRIVER
bool "Driver Core verbose debug messages" bool "Driver Core verbose debug messages"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册