]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: fix DM_EVENT dependencies
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 7 May 2022 20:39:01 +0000 (22:39 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 21:47:16 +0000 (17:47 -0400)
commitc5ef2025579e91f132cd3cead8ebe8b4cd5dd2b6
treec9b613cd72ed69a70dadd6afbd01b3021d6b6518
parent3800b318c5303633f056bc6ab387ef01906cee57
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>
drivers/core/Kconfig
include/event.h