summaryrefslogtreecommitdiff
path: root/drivers/mmc/gen_atmel_mci.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-18 02:18:03 +0300
committerSimon Glass <sjg@chromium.org>2017-06-01 15:57:52 +0300
commit9d922450aa9944ecf8c249c892078cda80f40e02 (patch)
treefb1333b82562bf0f69e7b3e7e2cd4cce519db751 /drivers/mmc/gen_atmel_mci.c
parent31493dd5ffc74e2d5d1f1112fd2267e37d4fd698 (diff)
downloadu-boot-9d922450aa9944ecf8c249c892078cda80f40e02.tar.xz
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 'drivers/mmc/gen_atmel_mci.c')
-rw-r--r--drivers/mmc/gen_atmel_mci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c
index c25d9ed96e..d883da30a1 100644
--- a/drivers/mmc/gen_atmel_mci.c
+++ b/drivers/mmc/gen_atmel_mci.c
@@ -11,6 +11,7 @@
#include <common.h>
#include <clk.h>
+#include <dm.h>
#include <mmc.h>
#include <part.h>
#include <malloc.h>
@@ -19,7 +20,6 @@
#include <asm/byteorder.h>
#include <asm/arch/clk.h>
#include <asm/arch/hardware.h>
-#include <dm/device.h>
#include "atmel_mci.h"
DECLARE_GLOBAL_DATA_PTR;