^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __AR2315_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __AR2315_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #ifdef CONFIG_SOC_AR2315
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) void ar2315_arch_init_irq(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) void ar2315_init_devices(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) void ar2315_plat_time_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) void ar2315_plat_mem_setup(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) void ar2315_arch_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) static inline void ar2315_arch_init_irq(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) static inline void ar2315_init_devices(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) static inline void ar2315_plat_time_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) static inline void ar2315_plat_mem_setup(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) static inline void ar2315_arch_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #endif /* __AR2315_H */