projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5423459
)
dm: core: Drop dm.h header file from dm-demo.h
author
Simon Glass
<sjg@chromium.org>
Sun, 19 Jul 2020 16:15:36 +0000
(10:15 -0600)
committer
Tom Rini
<trini@konsulko.com>
Tue, 4 Aug 2020 02:19:54 +0000
(22:19 -0400)
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>
cmd/demo.c
patch
|
blob
|
history
include/dm-demo.h
patch
|
blob
|
history
diff --git
a/cmd/demo.c
b/cmd/demo.c
index
9da06f5
..
f923533
100644
(file)
--- a/
cmd/demo.c
+++ b/
cmd/demo.c
@@
-8,6
+8,7
@@
#include <common.h>
#include <command.h>
+#include <dm.h>
#include <dm-demo.h>
#include <mapmem.h>
#include <asm/io.h>
diff --git
a/include/dm-demo.h
b/include/dm-demo.h
index
c9a82c7
..
7b6d0d8
100644
(file)
--- a/
include/dm-demo.h
+++ b/
include/dm-demo.h
@@
-6,8
+6,6
@@
#ifndef __DM_DEMO_H
#define __DM_DEMO_H
-#include <dm.h>
-
/**
* struct dm_demo_pdata - configuration data for demo instance
*