treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / ath25 / ar5312.h
blob67518a59ac3cefde3f9cc5aa16c174839449eea9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __AR5312_H
3 #define __AR5312_H
5 #ifdef CONFIG_SOC_AR5312
7 void ar5312_arch_init_irq(void);
8 void ar5312_init_devices(void);
9 void ar5312_plat_time_init(void);
10 void ar5312_plat_mem_setup(void);
11 void ar5312_arch_init(void);
13 #else
15 static inline void ar5312_arch_init_irq(void) {}
16 static inline void ar5312_init_devices(void) {}
17 static inline void ar5312_plat_time_init(void) {}
18 static inline void ar5312_plat_mem_setup(void) {}
19 static inline void ar5312_arch_init(void) {}
21 #endif
23 #endif /* __AR5312_H */