Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Dmitry Eremin-Solenikov | 543a07b | 2011-11-17 21:56:16 +0400 | [diff] [blame] | 2 | #ifndef MPC85xx_H |
| 3 | #define MPC85xx_H |
Dmitry Eremin-Solenikov | 46d026a | 2011-11-17 21:56:17 +0400 | [diff] [blame] | 4 | extern int mpc85xx_common_publish_devices(void); |
| 5 | |
Dmitry Eremin-Solenikov | 543a07b | 2011-11-17 21:56:16 +0400 | [diff] [blame] | 6 | #ifdef CONFIG_CPM2 |
| 7 | extern void mpc85xx_cpm2_pic_init(void); |
| 8 | #else |
| 9 | static inline void __init mpc85xx_cpm2_pic_init(void) {} |
| 10 | #endif /* CONFIG_CPM2 */ |
| 11 | |
Xie Xiaobo | 72c916a | 2013-11-06 17:08:02 +0800 | [diff] [blame] | 12 | #ifdef CONFIG_QUICC_ENGINE |
| 13 | extern void mpc85xx_qe_init(void); |
Zhao Qiang | 706f4aa | 2014-03-06 09:38:12 +0800 | [diff] [blame] | 14 | extern void mpc85xx_qe_par_io_init(void); |
Xie Xiaobo | 72c916a | 2013-11-06 17:08:02 +0800 | [diff] [blame] | 15 | #else |
| 16 | static inline void __init mpc85xx_qe_init(void) {} |
Zhao Qiang | 706f4aa | 2014-03-06 09:38:12 +0800 | [diff] [blame] | 17 | static inline void __init mpc85xx_qe_par_io_init(void) {} |
Xie Xiaobo | 72c916a | 2013-11-06 17:08:02 +0800 | [diff] [blame] | 18 | #endif |
| 19 | |
Dmitry Eremin-Solenikov | 543a07b | 2011-11-17 21:56:16 +0400 | [diff] [blame] | 20 | #endif |