blob: 67518a59ac3cefde3f9cc5aa16c174839449eea9 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +04002#ifndef __AR5312_H
3#define __AR5312_H
4
5#ifdef CONFIG_SOC_AR5312
6
Sergey Ryazanov1753e742014-10-29 03:18:41 +04007void ar5312_arch_init_irq(void);
Sergey Ryazanova7473712014-10-29 03:18:44 +04008void ar5312_init_devices(void);
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +04009void ar5312_plat_time_init(void);
10void ar5312_plat_mem_setup(void);
Sergey Ryazanov1ac91b12014-10-29 03:18:43 +040011void ar5312_arch_init(void);
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +040012
13#else
14
Sergey Ryazanov1753e742014-10-29 03:18:41 +040015static inline void ar5312_arch_init_irq(void) {}
Sergey Ryazanova7473712014-10-29 03:18:44 +040016static inline void ar5312_init_devices(void) {}
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +040017static inline void ar5312_plat_time_init(void) {}
18static inline void ar5312_plat_mem_setup(void) {}
Sergey Ryazanov1ac91b12014-10-29 03:18:43 +040019static inline void ar5312_arch_init(void) {}
Sergey Ryazanov3b12308f2014-10-29 03:18:39 +040020
21#endif
22
23#endif /* __AR5312_H */