rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __AR2315_H |
| 3 | #define __AR2315_H |
| 4 | |
| 5 | #ifdef CONFIG_SOC_AR2315 |
| 6 | |
| 7 | void ar2315_arch_init_irq(void); |
| 8 | void ar2315_init_devices(void); |
| 9 | void ar2315_plat_time_init(void); |
| 10 | void ar2315_plat_mem_setup(void); |
| 11 | void ar2315_arch_init(void); |
| 12 | |
| 13 | #else |
| 14 | |
| 15 | static inline void ar2315_arch_init_irq(void) {} |
| 16 | static inline void ar2315_init_devices(void) {} |
| 17 | static inline void ar2315_plat_time_init(void) {} |
| 18 | static inline void ar2315_plat_mem_setup(void) {} |
| 19 | static inline void ar2315_arch_init(void) {} |
| 20 | |
| 21 | #endif |
| 22 | |
| 23 | #endif /* __AR2315_H */ |