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