2 #ifndef _LINUX_RPMSG_QCOM_SMD_H
3 #define _LINUX_RPMSG_QCOM_SMD_H
5 #include <linux/device.h>
9 #if IS_ENABLED(CONFIG_RPMSG_QCOM_SMD) || IS_ENABLED(CONFIG_QCOM_SMD)
11 struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,
12 struct device_node *node);
13 int qcom_smd_unregister_edge(struct qcom_smd_edge *edge);
17 static inline struct qcom_smd_edge *
18 qcom_smd_register_edge(struct device *parent,
19 struct device_node *node)
21 return ERR_PTR(-ENXIO);
24 static inline int qcom_smd_unregister_edge(struct qcom_smd_edge *edge)
26 /* This shouldn't be possible */