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