timer: Include device_compat.h
authorSean Anderson <seanga2@gmail.com>
Mon, 5 Oct 2020 01:39:52 +0000 (21:39 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 16 Oct 2020 13:44:27 +0000 (09:44 -0400)
Necessary for dev_xxx.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/timer/timer-uclass.c

index e9802c8..f8a092b 100644 (file)
@@ -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>