xref: /OK3568_Linux_fs/kernel/arch/powerpc/platforms/85xx/mpc85xx.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef MPC85xx_H
3*4882a593Smuzhiyun #define MPC85xx_H
4*4882a593Smuzhiyun extern int mpc85xx_common_publish_devices(void);
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun #ifdef CONFIG_CPM2
7*4882a593Smuzhiyun extern void mpc85xx_cpm2_pic_init(void);
8*4882a593Smuzhiyun #else
mpc85xx_cpm2_pic_init(void)9*4882a593Smuzhiyun static inline void __init mpc85xx_cpm2_pic_init(void) {}
10*4882a593Smuzhiyun #endif /* CONFIG_CPM2 */
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #ifdef CONFIG_QUICC_ENGINE
13*4882a593Smuzhiyun extern void mpc85xx_qe_par_io_init(void);
14*4882a593Smuzhiyun #else
mpc85xx_qe_par_io_init(void)15*4882a593Smuzhiyun static inline void __init mpc85xx_qe_par_io_init(void) {}
16*4882a593Smuzhiyun #endif
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun #endif
19