summaryrefslogtreecommitdiff
path: root/common
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 /common
parent31493dd5ffc74e2d5d1f1112fd2267e37d4fd698 (diff)
downloadu-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.gz
u-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.bz2
u-boot-9d922450aa9944ecf8c249c892078cda80f40e02.zip
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 'common')
-rw-r--r--common/env_sf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/env_sf.c b/common/env_sf.c
index 9944602367..45f441a042 100644
--- a/common/env_sf.c
+++ b/common/env_sf.c
@@ -10,6 +10,7 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
+#include <dm.h>
#include <environment.h>
#include <malloc.h>
#include <spi.h>