[PATCH 1/1] mtd: misplaced log.h and dm/devres.h

Simon Glass sjg at chromium.org
Thu Jan 7 13:36:02 CET 2021


On Sun, 3 Jan 2021 at 08:10, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> log.h and dm/devres.h are U-Boot includes. So placing them
> behind #ifndef __UBOOT__ does not make any sense.
>
> Fixes: f7ae49fc4f36 ("common: Drop log.h from common header")
> Fixes: 61b29b826838 ("dm: core: Require users of devres to include the header")
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/mtd/mtdcore.c | 2 --
>  1 file changed, 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list