From: Heinrich Schuchardt Date: Sun, 3 Jan 2021 15:10:45 +0000 (+0100) Subject: mtd: misplaced log.h and dm/devres.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=bcb0203c616b907ee39a131693a8718eef338c7b;p=u-boot.git 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 Reviewed-by: Simon Glass --- diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 1a4dec34d9..0d1f94c6cb 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -9,8 +9,6 @@ */ #ifndef __UBOOT__ -#include -#include #include #include #include