summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-zynqmp
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-01-10 11:48:48 +0100
committerMichal Simek <michal.simek@xilinx.com>2018-01-30 14:28:59 +0100
commitf32e79f1595e4565d3b9af44a7f80efd7f017133 (patch)
treea5c2b36f4d1c401cea55b90aae8691784c1da0d3 /arch/arm/include/asm/arch-zynqmp
parent7109930a70da34677fea382cbe062b29b025e208 (diff)
downloadu-boot-f32e79f1595e4565d3b9af44a7f80efd7f017133.tar.gz
arm64: zynqmp: Propagate error value from psu_init()
psu_init() returns int which wasn't declared and checked. The patch is fixing function declarations and code to handle return values properly. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include/asm/arch-zynqmp')
-rw-r--r--arch/arm/include/asm/arch-zynqmp/sys_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/sys_proto.h b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
index ad28568633..4dfabba80a 100644
--- a/arch/arm/include/asm/arch-zynqmp/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
@@ -33,7 +33,7 @@ enum {
int zynq_board_read_rom_ethaddr(unsigned char *ethaddr);
unsigned int zynqmp_get_silicon_version(void);
-void psu_init(void);
+int psu_init(void);
void handoff_setup(void);