summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc8xx/cpu_init.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2017-07-06 08:33:17 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-08 19:55:34 (GMT)
commit70fd071001eafa60ed2ac8a69cfc5600c59981a5 (patch)
tree0b66d6b94eb627bc5d78a25a6b2441ee31e976f3 /arch/powerpc/cpu/mpc8xx/cpu_init.c
parent73bc94c6b7f73c2d22f43daaebfe5ddcb0948ee7 (diff)
downloadu-boot-fsl-qoriq-70fd071001eafa60ed2ac8a69cfc5600c59981a5.tar.xz
powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xx/cpu_init.c')
-rw-r--r--arch/powerpc/cpu/mpc8xx/cpu_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c b/arch/powerpc/cpu/mpc8xx/cpu_init.c
index a51596a..b419edf 100644
--- a/arch/powerpc/cpu/mpc8xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc8xx/cpu_init.c
@@ -29,7 +29,7 @@ void cpu_init_f(immap_t __iomem *immr)
out_be32(&immr->im_siu_conf.sc_sypcr, CONFIG_SYS_SYPCR);
#if defined(CONFIG_WATCHDOG)
- reset_8xx_watchdog (immr);
+ reset_8xx_watchdog(immr);
#endif /* CONFIG_WATCHDOG */
/* SIUMCR - contains debug pin configuration (11-6) */
@@ -182,7 +182,7 @@ void cpu_init_f(immap_t __iomem *immr)
/*
* initialize higher level parts of CPU like timers
*/
-int cpu_init_r (void)
+int cpu_init_r(void)
{
- return (0);
+ return 0;
}