Sergey Ryazanov | ba91034 | 2014-10-29 03:18:40 +0400 | [diff] [blame] | 1 | #ifndef __AR2315_H |
| 2 | #define __AR2315_H |
| 3 | |
| 4 | #ifdef CONFIG_SOC_AR2315 |
| 5 | |
Sergey Ryazanov | 1753e74 | 2014-10-29 03:18:41 +0400 | [diff] [blame] | 6 | void ar2315_arch_init_irq(void); |
Sergey Ryazanov | a747371 | 2014-10-29 03:18:44 +0400 | [diff] [blame] | 7 | void ar2315_init_devices(void); |
Sergey Ryazanov | ba91034 | 2014-10-29 03:18:40 +0400 | [diff] [blame] | 8 | void ar2315_plat_time_init(void); |
| 9 | void ar2315_plat_mem_setup(void); |
Sergey Ryazanov | 1ac91b1 | 2014-10-29 03:18:43 +0400 | [diff] [blame] | 10 | void ar2315_arch_init(void); |
Sergey Ryazanov | ba91034 | 2014-10-29 03:18:40 +0400 | [diff] [blame] | 11 | |
| 12 | #else |
| 13 | |
Sergey Ryazanov | 1753e74 | 2014-10-29 03:18:41 +0400 | [diff] [blame] | 14 | static inline void ar2315_arch_init_irq(void) {} |
Sergey Ryazanov | a747371 | 2014-10-29 03:18:44 +0400 | [diff] [blame] | 15 | static inline void ar2315_init_devices(void) {} |
Sergey Ryazanov | ba91034 | 2014-10-29 03:18:40 +0400 | [diff] [blame] | 16 | static inline void ar2315_plat_time_init(void) {} |
| 17 | static inline void ar2315_plat_mem_setup(void) {} |
Sergey Ryazanov | 1ac91b1 | 2014-10-29 03:18:43 +0400 | [diff] [blame] | 18 | static inline void ar2315_arch_init(void) {} |
Sergey Ryazanov | ba91034 | 2014-10-29 03:18:40 +0400 | [diff] [blame] | 19 | |
| 20 | #endif |
| 21 | |
| 22 | #endif /* __AR2315_H */ |