1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _LINUX_RPMSG_QCOM_GLINK_H
4 #define _LINUX_RPMSG_QCOM_GLINK_H
6 #include <linux/device.h>
10 #if IS_ENABLED(CONFIG_RPMSG_QCOM_GLINK)
11 void qcom_glink_ssr_notify(const char *ssr_name);
13 static inline void qcom_glink_ssr_notify(const char *ssr_name) {}
16 #if IS_ENABLED(CONFIG_RPMSG_QCOM_GLINK_SMEM)
18 struct qcom_glink *qcom_glink_smem_register(struct device *parent,
19 struct device_node *node);
20 void qcom_glink_smem_unregister(struct qcom_glink *glink);
24 static inline struct qcom_glink *
25 qcom_glink_smem_register(struct device *parent,
26 struct device_node *node)
31 static inline void qcom_glink_smem_unregister(struct qcom_glink *glink) {}