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:f7ae49fc4f
("common: Drop log.h from common header") Fixes:61b29b8268
("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>
This commit is contained in:
parent
986c841c8b
commit
bcb0203c61
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue