blob: fccc64f6db6c884644bf4fbc403acb4b007282e3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Sergey Ryazanovba910342014-10-29 03:18:40 +04002#ifndef __AR2315_H
3#define __AR2315_H
4
5#ifdef CONFIG_SOC_AR2315
6
Sergey Ryazanov1753e742014-10-29 03:18:41 +04007void ar2315_arch_init_irq(void);
Sergey Ryazanova7473712014-10-29 03:18:44 +04008void ar2315_init_devices(void);
Sergey Ryazanovba910342014-10-29 03:18:40 +04009void ar2315_plat_time_init(void);
10void ar2315_plat_mem_setup(void);
Sergey Ryazanov1ac91b12014-10-29 03:18:43 +040011void ar2315_arch_init(void);
Sergey Ryazanovba910342014-10-29 03:18:40 +040012
13#else
14
Sergey Ryazanov1753e742014-10-29 03:18:41 +040015static inline void ar2315_arch_init_irq(void) {}
Sergey Ryazanova7473712014-10-29 03:18:44 +040016static inline void ar2315_init_devices(void) {}
Sergey Ryazanovba910342014-10-29 03:18:40 +040017static inline void ar2315_plat_time_init(void) {}
18static inline void ar2315_plat_mem_setup(void) {}
Sergey Ryazanov1ac91b12014-10-29 03:18:43 +040019static inline void ar2315_arch_init(void) {}
Sergey Ryazanovba910342014-10-29 03:18:40 +040020
21#endif
22
23#endif /* __AR2315_H */