Sergey Ryazanov | 3b12308f | 2014-10-29 03:18:39 +0400 | [diff] [blame] | 1 | #ifndef __AR5312_H |
| 2 | #define __AR5312_H |
| 3 | |
| 4 | #ifdef CONFIG_SOC_AR5312 |
| 5 | |
Sergey Ryazanov | 1753e74 | 2014-10-29 03:18:41 +0400 | [diff] [blame] | 6 | void ar5312_arch_init_irq(void); |
Sergey Ryazanov | 3b12308f | 2014-10-29 03:18:39 +0400 | [diff] [blame] | 7 | void ar5312_plat_time_init(void); |
| 8 | void ar5312_plat_mem_setup(void); |
Sergey Ryazanov | 1ac91b1 | 2014-10-29 03:18:43 +0400 | [diff] [blame^] | 9 | void ar5312_arch_init(void); |
Sergey Ryazanov | 3b12308f | 2014-10-29 03:18:39 +0400 | [diff] [blame] | 10 | |
| 11 | #else |
| 12 | |
Sergey Ryazanov | 1753e74 | 2014-10-29 03:18:41 +0400 | [diff] [blame] | 13 | static inline void ar5312_arch_init_irq(void) {} |
Sergey Ryazanov | 3b12308f | 2014-10-29 03:18:39 +0400 | [diff] [blame] | 14 | static inline void ar5312_plat_time_init(void) {} |
| 15 | static inline void ar5312_plat_mem_setup(void) {} |
Sergey Ryazanov | 1ac91b1 | 2014-10-29 03:18:43 +0400 | [diff] [blame^] | 16 | static inline void ar5312_arch_init(void) {} |
Sergey Ryazanov | 3b12308f | 2014-10-29 03:18:39 +0400 | [diff] [blame] | 17 | |
| 18 | #endif |
| 19 | |
| 20 | #endif /* __AR5312_H */ |