xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / rpmsg / qcom_glink.h
bloba622f029836ea0d1a9ed6fc3982df95324af8986
1 #ifndef _LINUX_RPMSG_QCOM_GLINK_H
2 #define _LINUX_RPMSG_QCOM_GLINK_H
4 #include <linux/device.h>
6 struct qcom_glink;
8 #if IS_ENABLED(CONFIG_RPMSG_QCOM_GLINK_SMEM)
10 struct qcom_glink *qcom_glink_smem_register(struct device *parent,
11 struct device_node *node);
12 void qcom_glink_smem_unregister(struct qcom_glink *glink);
14 #else
16 static inline struct qcom_glink *
17 qcom_glink_smem_register(struct device *parent,
18 struct device_node *node)
20 return NULL;
23 static inline void qcom_glink_smem_unregister(struct qcom_glink *glink) {}
25 #endif
27 #endif