mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
7d8ae6e081
Make just one .setup_arch and one .init_IRQ callback implementation for all P2020 board code. This deduplicate repeated and same code. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230408140122.25293-11-pali@kernel.org
24 lines
550 B
C
24 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
|