summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/mpc85xx.h
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2014-03-06 09:38:12 +0800
committerScott Wood <scottwood@freescale.com>2014-03-19 19:37:31 -0500
commit706f4aa0350f80743951bd0d1272baba56076833 (patch)
tree8e6562bdbae0cb54181000b67971e4acd8401f0f /arch/powerpc/platforms/85xx/mpc85xx.h
parentb0ad062cc410331e33e710bbc50d02ed587a217f (diff)
downloadlinux-706f4aa0350f80743951bd0d1272baba56076833.tar.gz
linux-706f4aa0350f80743951bd0d1272baba56076833.tar.bz2
linux-706f4aa0350f80743951bd0d1272baba56076833.zip
QE: split function mpc85xx_qe_init() into two functions.
New QE doesn't have par_io, it doesn't need to init par_io for new QE. Split function mpc85xx_qe_init() into mpc85xx_qe_init() and mpc85xx_qe_par_io_init(). Call mpc85xx_qe_init() for both new and old while mpc85xx_qe_par_io_init() after mpc85xx_qe_init() for old. Signed-off-by: Zhao Qiang <B45475@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx.h')
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx.h b/arch/powerpc/platforms/85xx/mpc85xx.h
index fc51dd4092e5..39056f6befeb 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx.h
+++ b/arch/powerpc/platforms/85xx/mpc85xx.h
@@ -10,8 +10,10 @@ static inline void __init mpc85xx_cpm2_pic_init(void) {}
#ifdef CONFIG_QUICC_ENGINE
extern void mpc85xx_qe_init(void);
+extern void mpc85xx_qe_par_io_init(void);
#else
static inline void __init mpc85xx_qe_init(void) {}
+static inline void __init mpc85xx_qe_par_io_init(void) {}
#endif
#endif