1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2ba910345SSergey Ryazanov #ifndef __AR2315_H 3ba910345SSergey Ryazanov #define __AR2315_H 4ba910345SSergey Ryazanov 5ba910345SSergey Ryazanov #ifdef CONFIG_SOC_AR2315 6ba910345SSergey Ryazanov 71753e74eSSergey Ryazanov void ar2315_arch_init_irq(void); 8a7473717SSergey Ryazanov void ar2315_init_devices(void); 9ba910345SSergey Ryazanov void ar2315_plat_time_init(void); 10ba910345SSergey Ryazanov void ar2315_plat_mem_setup(void); 111ac91b1fSSergey Ryazanov void ar2315_arch_init(void); 12ba910345SSergey Ryazanov 13ba910345SSergey Ryazanov #else 14ba910345SSergey Ryazanov ar2315_arch_init_irq(void)151753e74eSSergey Ryazanovstatic inline void ar2315_arch_init_irq(void) {} ar2315_init_devices(void)16a7473717SSergey Ryazanovstatic inline void ar2315_init_devices(void) {} ar2315_plat_time_init(void)17ba910345SSergey Ryazanovstatic inline void ar2315_plat_time_init(void) {} ar2315_plat_mem_setup(void)18ba910345SSergey Ryazanovstatic inline void ar2315_plat_mem_setup(void) {} ar2315_arch_init(void)191ac91b1fSSergey Ryazanovstatic inline void ar2315_arch_init(void) {} 20ba910345SSergey Ryazanov 21ba910345SSergey Ryazanov #endif 22ba910345SSergey Ryazanov 23ba910345SSergey Ryazanov #endif /* __AR2315_H */ 24