summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm283x/reset.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-03-03 15:28:59 +0100
committerAlexander Graf <agraf@suse.de>2018-04-04 11:00:06 +0200
commit22c793e6a26505fdf80cb5b099142dd6f8f0fff9 (patch)
treeaa7c248ef8df34d27514b26b20cb5e06b6a83a6b /arch/arm/mach-bcm283x/reset.c
parent098a6cdd1cc519f6c75b5e5de91c6655500a188a (diff)
efi_loader: exit status for efi_reset_system_init
efi_reset_system_init provides the architecture or board specific initialization of the EFI subsystem. Errors should be caught and signalled by a return code. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/arm/mach-bcm283x/reset.c')
-rw-r--r--arch/arm/mach-bcm283x/reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-bcm283x/reset.c b/arch/arm/mach-bcm283x/reset.c
index b62cb8a51e..5b83fdf43d 100644
--- a/arch/arm/mach-bcm283x/reset.c
+++ b/arch/arm/mach-bcm283x/reset.c
@@ -82,9 +82,9 @@ void __efi_runtime EFIAPI efi_reset_system(
while (1) { }
}
-void efi_reset_system_init(void)
+efi_status_t efi_reset_system_init(void)
{
- efi_add_runtime_mmio(&wdog_regs, sizeof(*wdog_regs));
+ return efi_add_runtime_mmio(&wdog_regs, sizeof(*wdog_regs));
}
#endif