aboutsummaryrefslogtreecommitdiff
path: root/board/st/stv0991
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 17:18:03 -0600
committerSimon Glass <sjg@chromium.org>2017-06-01 06:57:52 -0600
commit9d922450aa9944ecf8c249c892078cda80f40e02 (patch)
treefb1333b82562bf0f69e7b3e7e2cd4cce519db751 /board/st/stv0991
parent31493dd5ffc74e2d5d1f1112fd2267e37d4fd698 (diff)
downloadu-boot-9d922450aa9944ecf8c249c892078cda80f40e02.zip
u-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.gz
u-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.bz2
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust existing users to include that always, even if other dm/ includes are present Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/st/stv0991')
-rw-r--r--board/st/stv0991/stv0991.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c
index 6a19730..85ac66e 100644
--- a/board/st/stv0991/stv0991.c
+++ b/board/st/stv0991/stv0991.c
@@ -6,6 +6,7 @@
*/
#include <common.h>
+#include <dm.h>
#include <miiphy.h>
#include <asm/arch/stv0991_periph.h>
#include <asm/arch/stv0991_defs.h>
@@ -13,7 +14,6 @@
#include <asm/arch/gpio.h>
#include <netdev.h>
#include <asm/io.h>
-#include <dm/platdata.h>
#include <dm/platform_data/serial_pl01x.h>
DECLARE_GLOBAL_DATA_PTR;