1 #ifndef __QCOM_RPROC_H__ 2 #define __QCOM_RPROC_H__ 3 4 struct notifier_block; 5 6 #if IS_ENABLED(CONFIG_QCOM_RPROC_COMMON) 7 8 int qcom_register_ssr_notifier(struct notifier_block *nb); 9 void qcom_unregister_ssr_notifier(struct notifier_block *nb); 10 11 #else 12 qcom_register_ssr_notifier(struct notifier_block * nb)13static inline int qcom_register_ssr_notifier(struct notifier_block *nb) 14 { 15 return 0; 16 } 17 qcom_unregister_ssr_notifier(struct notifier_block * nb)18static inline void qcom_unregister_ssr_notifier(struct notifier_block *nb) {} 19 20 #endif 21 22 #endif 23