diff options
author | Heinrich Schuchardt | 2022-05-07 22:39:01 +0200 |
---|---|---|
committer | Tom Rini | 2022-06-06 17:47:16 -0400 |
commit | c5ef2025579e91f132cd3cead8ebe8b4cd5dd2b6 (patch) | |
tree | c9b613cd72ed69a70dadd6afbd01b3021d6b6518 /drivers/core | |
parent | 3800b318c5303633f056bc6ab387ef01906cee57 (diff) |
dm: fix DM_EVENT dependencies
CONFIG_DM_EVENT without CONFIG_EVENT is non-functional.
Let CONFIG_DM_EVENT depend on CONFIG_EVENT.
Remove superfluous stub in include/event.h.
Fixes: 5b896ed5856f ("event: Add events for device probe/remove")
Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'drivers/core')
-rw-r--r-- | drivers/core/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 27d6578772a..9b9a7148a1a 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -89,8 +89,7 @@ config DM_DEVICE_REMOVE config DM_EVENT bool "Support events with driver model" - depends on DM - imply EVENT + depends on DM && EVENT default y if SANDBOX help This enables support for generating events related to driver model |