mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-23 20:59:12 +07:00

Define a QE init function in common file, and avoid the same codes being duplicated in board files. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
18 lines
369 B
C
18 lines
369 B
C
#ifndef MPC85xx_H
|
|
#define MPC85xx_H
|
|
extern int mpc85xx_common_publish_devices(void);
|
|
|
|
#ifdef CONFIG_CPM2
|
|
extern void mpc85xx_cpm2_pic_init(void);
|
|
#else
|
|
static inline void __init mpc85xx_cpm2_pic_init(void) {}
|
|
#endif /* CONFIG_CPM2 */
|
|
|
|
#ifdef CONFIG_QUICC_ENGINE
|
|
extern void mpc85xx_qe_init(void);
|
|
#else
|
|
static inline void __init mpc85xx_qe_init(void) {}
|
|
#endif
|
|
|
|
#endif
|