]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: sifive: Include device_compat.h
authorSean Anderson <seanga2@gmail.com>
Mon, 5 Oct 2020 01:39:42 +0000 (21:39 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 15 Oct 2020 22:36:55 +0000 (18:36 -0400)
Necessary for dev_xxx.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
drivers/clk/sifive/fu540-prci.c

index c5148e9a37e5fef87e250f22b7780761162d999e..1b4d81d4f06f651bfc10a9da1e14f54dbcb64f70 100644 (file)
  */
 
 #include <common.h>
-#include <asm/io.h>
-#include <asm/arch/reset.h>
 #include <clk-uclass.h>
 #include <clk.h>
 #include <div64.h>
 #include <dm.h>
-#include <errno.h>
-#include <reset-uclass.h>
 #include <dm/device.h>
+#include <dm/device_compat.h>
 #include <dm/uclass.h>
+#include <dt-bindings/clock/sifive-fu540-prci.h>
+#include <dt-bindings/reset/sifive-fu540-prci.h>
+#include <errno.h>
+#include <reset-uclass.h>
+#include <asm/io.h>
+#include <asm/arch/reset.h>
 #include <linux/delay.h>
 #include <linux/err.h>
-
 #include <linux/math64.h>
 #include <linux/clk/analogbits-wrpll-cln28hpc.h>
-#include <dt-bindings/clock/sifive-fu540-prci.h>
-#include <dt-bindings/reset/sifive-fu540-prci.h>
 
 /*
  * EXPECTED_CLK_PARENT_COUNT: how many parent clocks this driver expects: