From 9d922450aa9944ecf8c249c892078cda80f40e02 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 17:18:03 -0600 Subject: 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 --- board/cavium/thunderx/thunderx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/cavium') diff --git a/board/cavium/thunderx/thunderx.c b/board/cavium/thunderx/thunderx.c index 960ca53..02253af 100644 --- a/board/cavium/thunderx/thunderx.c +++ b/board/cavium/thunderx/thunderx.c @@ -5,6 +5,7 @@ **/ #include +#include #include #include #include @@ -13,7 +14,6 @@ #include #if !CONFIG_IS_ENABLED(OF_CONTROL) -#include #include static const struct pl01x_serial_platdata serial0 = { -- cgit v1.1