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