18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __AR5312_H
38c2ecf20Sopenharmony_ci#define __AR5312_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifdef CONFIG_SOC_AR5312
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_civoid ar5312_arch_init_irq(void);
88c2ecf20Sopenharmony_civoid ar5312_init_devices(void);
98c2ecf20Sopenharmony_civoid ar5312_plat_time_init(void);
108c2ecf20Sopenharmony_civoid ar5312_plat_mem_setup(void);
118c2ecf20Sopenharmony_civoid ar5312_arch_init(void);
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#else
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cistatic inline void ar5312_arch_init_irq(void) {}
168c2ecf20Sopenharmony_cistatic inline void ar5312_init_devices(void) {}
178c2ecf20Sopenharmony_cistatic inline void ar5312_plat_time_init(void) {}
188c2ecf20Sopenharmony_cistatic inline void ar5312_plat_mem_setup(void) {}
198c2ecf20Sopenharmony_cistatic inline void ar5312_arch_init(void) {}
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#endif	/* __AR5312_H */
24