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.
Unified · Split
| @@ -171,8 +171,8 @@ config WANT_DEV_COREDUMP · 170 unmodified lines | ||
| 171 | 171 | Drivers should "select" this option if they desire to use the |
| 172 | 172 | device coredump mechanism. |
| 173 | 173 | |
| 174 | −config ENABLE_DEV_COREDUMP | |
| 175 | − bool "Enable device coredump" if EXPERT | |
| 174 | +config ALLOW_DEV_COREDUMP | |
| 175 | + bool "Allow device coredump" if EXPERT | |
| 176 | 176 | default y |
| 177 | 177 | help |
| 178 | 178 | This option controls if the device coredump mechanism is available or |
| @@ -187,7 +187,7 @@ config ENABLE_DEV_COREDUMP · 8 unmodified lines | ||
| 187 | 187 | config DEV_COREDUMP |
| 188 | 188 | bool |
| 189 | 189 | default y if WANT_DEV_COREDUMP |
| 190 | − depends on ENABLE_DEV_COREDUMP | |
| 190 | + depends on ALLOW_DEV_COREDUMP | |
| 191 | 191 | |
| 192 | 192 | config DEBUG_DRIVER |
| 193 | 193 | bool "Driver Core verbose debug messages" |