diff options
author | Zhao Qiang <B45475@freescale.com> | 2014-03-06 09:38:12 +0800 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-03-19 19:37:31 -0500 |
commit | 706f4aa0350f80743951bd0d1272baba56076833 (patch) | |
tree | 8e6562bdbae0cb54181000b67971e4acd8401f0f /arch/powerpc/platforms/85xx/mpc85xx.h | |
parent | b0ad062cc410331e33e710bbc50d02ed587a217f (diff) | |
download | linux-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.h | 2 |
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 |