]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitca17607562d4e49f303a9e53056b5614fc51137d
tree796a4431985cfd6d062cd0c51276de014cb9bb37
parentd95135417f1705d3f5f33094650ea88ab844baf8
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: 1459b1520336 ("common: Drop log.h from common header")
Fixes: aa6e2886b4c1 ("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