unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / remoteproc / qcom_rproc.h
blobfa8e38681b4b773a037905dc05224c56f80676c2
1 #ifndef __QCOM_RPROC_H__
2 #define __QCOM_RPROC_H__
4 struct notifier_block;
6 #if IS_ENABLED(CONFIG_QCOM_RPROC_COMMON)
8 int qcom_register_ssr_notifier(struct notifier_block *nb);
9 void qcom_unregister_ssr_notifier(struct notifier_block *nb);
11 #else
13 static inline int qcom_register_ssr_notifier(struct notifier_block *nb)
15 return 0;
18 static inline void qcom_unregister_ssr_notifier(struct notifier_block *nb) {}
20 #endif
22 #endif