This source file includes following definitions.
- qcom_register_ssr_notifier
- qcom_unregister_ssr_notifier
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
13 static inline int qcom_register_ssr_notifier(struct notifier_block *nb)
14 {
15 return 0;
16 }
17
18 static inline void qcom_unregister_ssr_notifier(struct notifier_block *nb) {}
19
20 #endif
21
22 #endif