1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 23b12308fSSergey Ryazanov #ifndef __AR5312_H 33b12308fSSergey Ryazanov #define __AR5312_H 43b12308fSSergey Ryazanov 53b12308fSSergey Ryazanov #ifdef CONFIG_SOC_AR5312 63b12308fSSergey Ryazanov 71753e74eSSergey Ryazanov void ar5312_arch_init_irq(void); 8a7473717SSergey Ryazanov void ar5312_init_devices(void); 93b12308fSSergey Ryazanov void ar5312_plat_time_init(void); 103b12308fSSergey Ryazanov void ar5312_plat_mem_setup(void); 111ac91b1fSSergey Ryazanov void ar5312_arch_init(void); 123b12308fSSergey Ryazanov 133b12308fSSergey Ryazanov #else 143b12308fSSergey Ryazanov ar5312_arch_init_irq(void)151753e74eSSergey Ryazanovstatic inline void ar5312_arch_init_irq(void) {} ar5312_init_devices(void)16a7473717SSergey Ryazanovstatic inline void ar5312_init_devices(void) {} ar5312_plat_time_init(void)173b12308fSSergey Ryazanovstatic inline void ar5312_plat_time_init(void) {} ar5312_plat_mem_setup(void)183b12308fSSergey Ryazanovstatic inline void ar5312_plat_mem_setup(void) {} ar5312_arch_init(void)191ac91b1fSSergey Ryazanovstatic inline void ar5312_arch_init(void) {} 203b12308fSSergey Ryazanov 213b12308fSSergey Ryazanov #endif 223b12308fSSergey Ryazanov 233b12308fSSergey Ryazanov #endif /* __AR5312_H */ 24