linux-zen-desktop/arch/powerpc/platforms/85xx/mpc85xx.h

25 lines
550 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#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_par_io_init(void);
#else
static inline void __init mpc85xx_qe_par_io_init(void) {}
#endif
#ifdef CONFIG_PPC_I8259
void __init mpc85xx_8259_init(void);
#else
static inline void __init mpc85xx_8259_init(void) {}
#endif
#endif