dm: core: Drop dm.h header file from dm-demo.h

This header file should not be included in other header files. Remove it
and add it to the cmd file instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2020-07-19 10:15:36 -06:00 committed by Tom Rini
parent 54234592df
commit 82a7697b5a
2 changed files with 1 additions and 2 deletions

View File

@ -8,6 +8,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <dm.h>
#include <dm-demo.h> #include <dm-demo.h>
#include <mapmem.h> #include <mapmem.h>
#include <asm/io.h> #include <asm/io.h>

View File

@ -6,8 +6,6 @@
#ifndef __DM_DEMO_H #ifndef __DM_DEMO_H
#define __DM_DEMO_H #define __DM_DEMO_H
#include <dm.h>
/** /**
* struct dm_demo_pdata - configuration data for demo instance * struct dm_demo_pdata - configuration data for demo instance
* *