diff options
author | Kevin Hao <haokexin@gmail.com> | 2016-08-23 04:06:58 +0200 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-09-25 09:38:53 +0200 |
commit | fff69fd03d1290297fcd039b07819fafa69ffc0a (patch) | |
tree | 313b7936479c70dbfa0104a4a4fceeb206ba58ad /arch/powerpc/platforms/83xx/mpc83xx.h | |
parent | soc/fsl/qe: fix Oops on CPM1 (and likely CPM2) (diff) | |
download | linux-fff69fd03d1290297fcd039b07819fafa69ffc0a.tar.xz linux-fff69fd03d1290297fcd039b07819fafa69ffc0a.zip |
powerpc/83xx: factor out the common codes of setup arch functions
Factor out the common codes of setup arch functions to a separate
function. It does make no sense to print a board specific info
in setup arch functions, so use a more general one.
For ASP8347E board, there is no pci device node. So it is safe to
invoke mpc83xx_setup_pci() in its setup arch function even there is
no such invocation in its original setup arch function.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc83xx.h')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc83xx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc83xx.h b/arch/powerpc/platforms/83xx/mpc83xx.h index ad484199eff7..636eb9d0401a 100644 --- a/arch/powerpc/platforms/83xx/mpc83xx.h +++ b/arch/powerpc/platforms/83xx/mpc83xx.h @@ -86,5 +86,6 @@ extern void mpc83xx_setup_pci(void); #endif extern int mpc83xx_declare_of_platform_devices(void); +extern void mpc83xx_setup_arch(void); #endif /* __MPC83XX_H__ */ |