diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 17:18:03 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 06:57:52 -0600 |
commit | 9d922450aa9944ecf8c249c892078cda80f40e02 (patch) | |
tree | fb1333b82562bf0f69e7b3e7e2cd4cce519db751 /board/armltd | |
parent | 31493dd5ffc74e2d5d1f1112fd2267e37d4fd698 (diff) | |
download | u-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.gz u-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.xz 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 'board/armltd')
-rw-r--r-- | board/armltd/integrator/integrator.c | 2 | ||||
-rw-r--r-- | board/armltd/vexpress64/vexpress64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c index cbe706170d..fabb8b1c57 100644 --- a/board/armltd/integrator/integrator.c +++ b/board/armltd/integrator/integrator.c @@ -18,9 +18,9 @@ */ #include <common.h> +#include <dm.h> #include <netdev.h> #include <asm/io.h> -#include <dm/platdata.h> #include <dm/platform_data/serial_pl01x.h> #include "arm-ebi.h" #include "integrator-sc.h" diff --git a/board/armltd/vexpress64/vexpress64.c b/board/armltd/vexpress64/vexpress64.c index 0a224178df..26e22c4c25 100644 --- a/board/armltd/vexpress64/vexpress64.c +++ b/board/armltd/vexpress64/vexpress64.c @@ -6,12 +6,12 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> +#include <dm.h> #include <malloc.h> #include <errno.h> #include <netdev.h> #include <asm/io.h> #include <linux/compiler.h> -#include <dm/platdata.h> #include <dm/platform_data/serial_pl01x.h> #include "pcie.h" #include <asm/armv8/mmu.h> |