diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-11-17 21:56:16 +0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-24 12:01:41 +0400 |
commit | 543a07b17389d751dbe2683d34e79be7c10ab6ac (patch) | |
tree | cca7d8d29e7e73a185e9c377ee128bcff229ffe0 /arch/powerpc/platforms/85xx/mpc85xx.h | |
parent | 5d71349580757eb5f109fb1e396a8544f3043160 (diff) | |
download | linux-543a07b17389d751dbe2683d34e79be7c10ab6ac.tar.xz |
powerpc/85xx: separate cpm2 pic init
Separate handling of CPM2 PIC initialization to mpc85xx_cpm2_pic_init()
function.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx.h')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx.h b/arch/powerpc/platforms/85xx/mpc85xx.h new file mode 100644 index 000000000000..fa55e8b08505 --- /dev/null +++ b/arch/powerpc/platforms/85xx/mpc85xx.h @@ -0,0 +1,9 @@ +#ifndef MPC85xx_H +#define MPC85xx_H +#ifdef CONFIG_CPM2 +extern void mpc85xx_cpm2_pic_init(void); +#else +static inline void __init mpc85xx_cpm2_pic_init(void) {} +#endif /* CONFIG_CPM2 */ + +#endif |