diff options
author | Zhao Qiang <B45475@freescale.com> | 2014-03-06 05:38:12 +0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-03-20 04:37:31 +0400 |
commit | 706f4aa0350f80743951bd0d1272baba56076833 (patch) | |
tree | 8e6562bdbae0cb54181000b67971e4acd8401f0f /arch/powerpc/platforms/85xx/common.c | |
parent | b0ad062cc410331e33e710bbc50d02ed587a217f (diff) | |
download | linux-706f4aa0350f80743951bd0d1272baba56076833.tar.xz |
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/common.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/common.c b/arch/powerpc/platforms/85xx/common.c index 3b085c7ee539..b564b5e23f7c 100644 --- a/arch/powerpc/platforms/85xx/common.c +++ b/arch/powerpc/platforms/85xx/common.c @@ -107,6 +107,12 @@ void __init mpc85xx_qe_init(void) qe_reset(); of_node_put(np); +} + +void __init mpc85xx_qe_par_io_init(void) +{ + struct device_node *np; + np = of_find_node_by_name(NULL, "par_io"); if (np) { struct device_node *ucc; |