2014-10-29 07:18:40 +08:00
|
|
|
#ifndef __AR2315_H
|
|
|
|
#define __AR2315_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_SOC_AR2315
|
|
|
|
|
2014-10-29 07:18:41 +08:00
|
|
|
void ar2315_arch_init_irq(void);
|
2014-10-29 07:18:44 +08:00
|
|
|
void ar2315_init_devices(void);
|
2014-10-29 07:18:40 +08:00
|
|
|
void ar2315_plat_time_init(void);
|
|
|
|
void ar2315_plat_mem_setup(void);
|
2014-10-29 07:18:43 +08:00
|
|
|
void ar2315_arch_init(void);
|
2014-10-29 07:18:40 +08:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2014-10-29 07:18:41 +08:00
|
|
|
static inline void ar2315_arch_init_irq(void) {}
|
2014-10-29 07:18:44 +08:00
|
|
|
static inline void ar2315_init_devices(void) {}
|
2014-10-29 07:18:40 +08:00
|
|
|
static inline void ar2315_plat_time_init(void) {}
|
|
|
|
static inline void ar2315_plat_mem_setup(void) {}
|
2014-10-29 07:18:43 +08:00
|
|
|
static inline void ar2315_arch_init(void) {}
|
2014-10-29 07:18:40 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __AR2315_H */
|