From: Peng Fan <[email protected]> struct udevice and u32 are used in this file. Add missing header to avoid building break after asm/global_data.h is removed from this file.
Signed-off-by: Peng Fan <[email protected]> --- arch/arm/mach-socfpga/clock_manager_s10.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-socfpga/clock_manager_s10.c b/arch/arm/mach-socfpga/clock_manager_s10.c index 1e148947a33..d6c64e98010 100644 --- a/arch/arm/mach-socfpga/clock_manager_s10.c +++ b/arch/arm/mach-socfpga/clock_manager_s10.c @@ -4,6 +4,8 @@ * */ +#include <compiler.h> +#include <dm/device.h> #include <linux/errno.h> #include <asm/global_data.h> #include <asm/io.h> -- 2.37.1

