blob: 470abb0052bd84dc4d599f610c31f8b373a3e5d5 [file] [log] [blame]
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +04001#ifndef __AR5312_H
2#define __AR5312_H
3
4#ifdef CONFIG_SOC_AR5312
5
Sergey Ryazanov1753e742014-10-29 03:18:41 +04006void ar5312_arch_init_irq(void);
Sergey Ryazanova7473712014-10-29 03:18:44 +04007void ar5312_init_devices(void);
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +04008void ar5312_plat_time_init(void);
9void ar5312_plat_mem_setup(void);
Sergey Ryazanov1ac91b12014-10-29 03:18:43 +040010void ar5312_arch_init(void);
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +040011
12#else
13
Sergey Ryazanov1753e742014-10-29 03:18:41 +040014static inline void ar5312_arch_init_irq(void) {}
Sergey Ryazanova7473712014-10-29 03:18:44 +040015static inline void ar5312_init_devices(void) {}
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +040016static inline void ar5312_plat_time_init(void) {}
17static inline void ar5312_plat_mem_setup(void) {}
Sergey Ryazanov1ac91b12014-10-29 03:18:43 +040018static inline void ar5312_arch_init(void) {}
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +040019
20#endif
21
22#endif /* __AR5312_H */