[PATCH 1/1] dm: fix DM_EVENT dependencies

Tom Rini trini at konsulko.com
Tue May 3 21:35:21 CEST 2022


On Tue, May 03, 2022 at 09:18:33PM +0200, Heinrich Schuchardt wrote:

> CONFIG_DM_EVENT without CONFIG_EVENT is non-functional. Select instead
> of imply CONFIG_EVENT.
> 
> Remove superfluous stub in include/event.h.
> 
> Fixes: 5b896ed5856f ("event: Add events for device probe/remove")
> Reported-by: Jan Kiszka <jan.kiszka at siemens.com>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  drivers/core/Kconfig | 2 +-
>  include/event.h      | 7 +------
>  2 files changed, 2 insertions(+), 7 deletions(-)

I don't think it makes sense to have two symbols at all.  It's part of
DM, it should always be DM_EVENT I suppose.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220503/9fdd9919/attachment.sig>


More information about the U-Boot mailing list