Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef _LINUX_RPMSG_QCOM_GLINK_H
2#define _LINUX_RPMSG_QCOM_GLINK_H
3
4#include <linux/device.h>
5
6struct qcom_glink;
7
8#if IS_ENABLED(CONFIG_RPMSG_QCOM_GLINK_SMEM)
9
10struct qcom_glink *qcom_glink_smem_register(struct device *parent,
11 struct device_node *node);
12void qcom_glink_smem_unregister(struct qcom_glink *glink);
13
14#else
15
16static inline struct qcom_glink *
17qcom_glink_smem_register(struct device *parent,
18 struct device_node *node)
19{
20 return NULL;
21}
22
23static inline void qcom_glink_smem_unregister(struct qcom_glink *glink) {}
24
25#endif
26
27#endif