mtd: misplaced log.h and dm/devres.h
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 3 Jan 2021 15:10:45 +0000 (16:10 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 17 Jan 2021 00:17:11 +0000 (19:17 -0500)
commitbcb0203c616b907ee39a131693a8718eef338c7b
tree796a4431985cfd6d062cd0c51276de014cb9bb37
parent986c841c8b41ba3dc8d8bc4ce3802779cf69bfc0
mtd: misplaced log.h and dm/devres.h

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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/mtdcore.c