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