1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __SOC_RESET_MESON_AUX_H 3 #define __SOC_RESET_MESON_AUX_H 4 5 #include <linux/err.h> 6 7 struct device; 8 struct regmap; 9 10 #if IS_ENABLED(CONFIG_RESET_MESON_AUX) 11 int devm_meson_rst_aux_register(struct device *dev, 12 struct regmap *map, 13 const char *adev_name); 14 #else 15 static inline int devm_meson_rst_aux_register(struct device *dev, 16 struct regmap *map, 17 const char *adev_name) 18 { 19 return 0; 20 } 21 #endif 22 23 #endif /* __SOC_RESET_MESON_AUX_H */ 24