xref: /openbmc/linux/arch/mips/ath25/ar2315.h (revision a7473717)
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);
7a7473717SSergey Ryazanov void ar2315_init_devices(void);
8ba910345SSergey Ryazanov void ar2315_plat_time_init(void);
9ba910345SSergey Ryazanov void ar2315_plat_mem_setup(void);
101ac91b1fSSergey Ryazanov void ar2315_arch_init(void);
11ba910345SSergey Ryazanov 
12ba910345SSergey Ryazanov #else
13ba910345SSergey Ryazanov 
141753e74eSSergey Ryazanov static inline void ar2315_arch_init_irq(void) {}
15a7473717SSergey Ryazanov static inline void ar2315_init_devices(void) {}
16ba910345SSergey Ryazanov static inline void ar2315_plat_time_init(void) {}
17ba910345SSergey Ryazanov static inline void ar2315_plat_mem_setup(void) {}
181ac91b1fSSergey Ryazanov static inline void ar2315_arch_init(void) {}
19ba910345SSergey Ryazanov 
20ba910345SSergey Ryazanov #endif
21ba910345SSergey Ryazanov 
22ba910345SSergey Ryazanov #endif	/* __AR2315_H */
23