dm: Use dm.h header when driver mode is used
[oweals/u-boot.git] / board / st / stv0991 / stv0991.c
index 6a19730069299ecacf8eeb7769a2da68d815170a..85ac66ec3ae95e6bc5f396dd2e1c8e64f19b7261 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <miiphy.h>
 #include <asm/arch/stv0991_periph.h>
 #include <asm/arch/stv0991_defs.h>
@@ -13,7 +14,6 @@
 #include <asm/arch/gpio.h>
 #include <netdev.h>
 #include <asm/io.h>
-#include <dm/platdata.h>
 #include <dm/platform_data/serial_pl01x.h>
 
 DECLARE_GLOBAL_DATA_PTR;