xref: /linux/arch/powerpc/platforms/85xx/mpc85xx.h (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef MPC85xx_H
3 #define MPC85xx_H
4 extern int mpc85xx_common_publish_devices(void);
5 
6 #ifdef CONFIG_CPM2
7 extern void mpc85xx_cpm2_pic_init(void);
8 #else
9 static inline void __init mpc85xx_cpm2_pic_init(void) {}
10 #endif /* CONFIG_CPM2 */
11 
12 #ifdef CONFIG_QUICC_ENGINE
13 extern void mpc85xx_qe_par_io_init(void);
14 #else
15 static inline void __init mpc85xx_qe_par_io_init(void) {}
16 #endif
17 
18 #ifdef CONFIG_PPC_I8259
19 void __init mpc85xx_8259_init(void);
20 #else
21 static inline void __init mpc85xx_8259_init(void) {}
22 #endif
23 
24 #endif
25