Skip to content

Commit cd3d9ea

Browse files
jmberg-intelgregkh
authored andcommitted
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 <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Acked-by: Aristeu Rozanski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9c60269 commit cd3d9ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/base/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ config WANT_DEV_COREDUMP
171171
Drivers should "select" this option if they desire to use the
172172
device coredump mechanism.
173173

174-
config ENABLE_DEV_COREDUMP
175-
bool "Enable device coredump" if EXPERT
174+
config ALLOW_DEV_COREDUMP
175+
bool "Allow device coredump" if EXPERT
176176
default y
177177
help
178178
This option controls if the device coredump mechanism is available or
@@ -187,7 +187,7 @@ config ENABLE_DEV_COREDUMP
187187
config DEV_COREDUMP
188188
bool
189189
default y if WANT_DEV_COREDUMP
190-
depends on ENABLE_DEV_COREDUMP
190+
depends on ALLOW_DEV_COREDUMP
191191

192192
config DEBUG_DRIVER
193193
bool "Driver Core verbose debug messages"

0 commit comments

Comments
 (0)