diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2016-05-27 11:32:49 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-30 07:07:48 +0200 |
commit | a72a1ae90a6739bb6d73b532bf7e9ca1852a2c33 (patch) | |
tree | add780a34e391373dffb422fb681fff704c2edd3 /arch/ppc | |
parent | a23eb47bf2fe0b4f9ad480d61f1b0635b6f189f3 (diff) | |
download | barebox-a72a1ae90a6739bb6d73b532bf7e9ca1852a2c33.tar.gz barebox-a72a1ae90a6739bb6d73b532bf7e9ca1852a2c33.tar.xz |
PPC: clean compiler warning
This change fixes the following compiler warning:
arch/ppc/mach-mpc5xxx/cpu.c: In function 'restart_register_feature':
arch/ppc/mach-mpc5xxx/cpu.c:81:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/mach-mpc5xxx/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/mach-mpc5xxx/cpu.c b/arch/ppc/mach-mpc5xxx/cpu.c index 33835e7060..42ced9ac54 100644 --- a/arch/ppc/mach-mpc5xxx/cpu.c +++ b/arch/ppc/mach-mpc5xxx/cpu.c @@ -77,7 +77,7 @@ static void __noreturn mpc5xxx_restart_soc(struct restart_handler *rst) static int restart_register_feature(void) { - restart_handler_register_fn(mpc5xxx_restart_soc); + return restart_handler_register_fn(mpc5xxx_restart_soc); } coredevice_initcall(restart_register_feature); |