timer: Include device_compat.h
Necessary for dev_xxx.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/timer/timer-uclass.c b/drivers/timer/timer-uclass.c
index e9802c8..f8a092b 100644
--- a/drivers/timer/timer-uclass.c
+++ b/drivers/timer/timer-uclass.c
@@ -4,14 +4,15 @@
*/
#include <common.h>
+#include <clk.h>
#include <cpu.h>
#include <dm.h>
-#include <init.h>
#include <dm/lists.h>
+#include <dm/device_compat.h>
#include <dm/device-internal.h>
#include <dm/root.h>
-#include <clk.h>
#include <errno.h>
+#include <init.h>
#include <timer.h>
#include <linux/err.h>