aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-03 16:10:45 +0100
committerTom Rini <trini@konsulko.com>2021-01-16 19:17:11 -0500
commitbcb0203c616b907ee39a131693a8718eef338c7b (patch)
tree796a4431985cfd6d062cd0c51276de014cb9bb37 /drivers/mtd
parent986c841c8b41ba3dc8d8bc4ce3802779cf69bfc0 (diff)
downloadu-boot-bcb0203c616b907ee39a131693a8718eef338c7b.zip
u-boot-bcb0203c616b907ee39a131693a8718eef338c7b.tar.gz
u-boot-bcb0203c616b907ee39a131693a8718eef338c7b.tar.bz2
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/mtdcore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 1a4dec3..0d1f94c 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -9,8 +9,6 @@
*/
#ifndef __UBOOT__
-#include <log.h>
-#include <dm/devres.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ptrace.h>