xref: /openbmc/linux/arch/mips/ath25/ar2315.h (revision 1ac91b1f)
1ba910345SSergey Ryazanov #ifndef __AR2315_H
2ba910345SSergey Ryazanov #define __AR2315_H
3ba910345SSergey Ryazanov 
4ba910345SSergey Ryazanov #ifdef CONFIG_SOC_AR2315
5ba910345SSergey Ryazanov 
61753e74eSSergey Ryazanov void ar2315_arch_init_irq(void);
7ba910345SSergey Ryazanov void ar2315_plat_time_init(void);
8ba910345SSergey Ryazanov void ar2315_plat_mem_setup(void);
91ac91b1fSSergey Ryazanov void ar2315_arch_init(void);
10ba910345SSergey Ryazanov 
11ba910345SSergey Ryazanov #else
12ba910345SSergey Ryazanov 
131753e74eSSergey Ryazanov static inline void ar2315_arch_init_irq(void) {}
14ba910345SSergey Ryazanov static inline void ar2315_plat_time_init(void) {}
15ba910345SSergey Ryazanov static inline void ar2315_plat_mem_setup(void) {}
161ac91b1fSSergey Ryazanov static inline void ar2315_arch_init(void) {}
17ba910345SSergey Ryazanov 
18ba910345SSergey Ryazanov #endif
19ba910345SSergey Ryazanov 
20ba910345SSergey Ryazanov #endif	/* __AR2315_H */
21