]> git.baikalelectronics.ru Git - uboot.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)
commit245ee37d1d3be58a05494f2b2f7c1ffb4dc6f193
treec9b613cd72ed69a70dadd6afbd01b3021d6b6518
parent57e83e8556fa11ebf5b9ea85766283751a2537a2
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: d5c2a6e8e76a ("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