blob: fa23f9b0592ca4c757523c73bc7ed585b4c39991 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Dmitry Eremin-Solenikov543a07b2011-11-17 21:56:16 +04002#ifndef MPC85xx_H
3#define MPC85xx_H
Dmitry Eremin-Solenikov46d026a2011-11-17 21:56:17 +04004extern int mpc85xx_common_publish_devices(void);
5
Dmitry Eremin-Solenikov543a07b2011-11-17 21:56:16 +04006#ifdef CONFIG_CPM2
7extern void mpc85xx_cpm2_pic_init(void);
8#else
9static inline void __init mpc85xx_cpm2_pic_init(void) {}
10#endif /* CONFIG_CPM2 */
11
Xie Xiaobo72c916a2013-11-06 17:08:02 +080012#ifdef CONFIG_QUICC_ENGINE
13extern void mpc85xx_qe_init(void);
Zhao Qiang706f4aa2014-03-06 09:38:12 +080014extern void mpc85xx_qe_par_io_init(void);
Xie Xiaobo72c916a2013-11-06 17:08:02 +080015#else
16static inline void __init mpc85xx_qe_init(void) {}
Zhao Qiang706f4aa2014-03-06 09:38:12 +080017static inline void __init mpc85xx_qe_par_io_init(void) {}
Xie Xiaobo72c916a2013-11-06 17:08:02 +080018#endif
19
Dmitry Eremin-Solenikov543a07b2011-11-17 21:56:16 +040020#endif