dm: Use dm.h header when driver mode is used
[oweals/u-boot.git] / drivers / mmc / gen_atmel_mci.c
index c25d9ed96ed1c972ff65c3aa2e66a1a95ef94e6d..d883da30a11f8811dae8f87123c8927458859956 100644 (file)
@@ -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;