diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-10-04 21:39:42 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-15 18:36:55 -0400 |
commit | 0f0f4e5feb15a90404aaa78a45c0b9fec9a8efb6 (patch) | |
tree | 86e016af74f05c7b108b6f0a96fbfb1c73ba416c | |
parent | 9dc6aef8c963ae17e1263b89c692792fce0c7198 (diff) | |
download | u-boot-0f0f4e5feb15a90404aaa78a45c0b9fec9a8efb6.zip u-boot-0f0f4e5feb15a90404aaa78a45c0b9fec9a8efb6.tar.gz u-boot-0f0f4e5feb15a90404aaa78a45c0b9fec9a8efb6.tar.bz2 |
clk: sifive: Include device_compat.h
Necessary for dev_xxx.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
-rw-r--r-- | drivers/clk/sifive/fu540-prci.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/clk/sifive/fu540-prci.c b/drivers/clk/sifive/fu540-prci.c index c5148e9..1b4d81d 100644 --- a/drivers/clk/sifive/fu540-prci.c +++ b/drivers/clk/sifive/fu540-prci.c @@ -29,23 +29,23 @@ */ #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: |