diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/openrisc/cpu/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/cpu/cpu.c b/arch/openrisc/cpu/cpu.c index d52b021029..e7f944555e 100644 --- a/arch/openrisc/cpu/cpu.c +++ b/arch/openrisc/cpu/cpu.c @@ -41,6 +41,6 @@ static void __noreturn openrisc_restart_cpu(struct restart_handler *rst) static int restart_register_feature(void) { - restart_handler_register_fn(openrisc_restart_cpu, NULL, RESET_SCOPE_CPU); + return restart_handler_register_fn(openrisc_restart_cpu); } coredevice_initcall(restart_register_feature); |