mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 08:25:20 +07:00
84369fbe62
Use the appropriate SPDX license identifier in various rpmsg glink driver source files and drop the previous boilerplate license text. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
30 lines
594 B
C
30 lines
594 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _LINUX_RPMSG_QCOM_GLINK_H
|
|
#define _LINUX_RPMSG_QCOM_GLINK_H
|
|
|
|
#include <linux/device.h>
|
|
|
|
struct qcom_glink;
|
|
|
|
#if IS_ENABLED(CONFIG_RPMSG_QCOM_GLINK_SMEM)
|
|
|
|
struct qcom_glink *qcom_glink_smem_register(struct device *parent,
|
|
struct device_node *node);
|
|
void qcom_glink_smem_unregister(struct qcom_glink *glink);
|
|
|
|
#else
|
|
|
|
static inline struct qcom_glink *
|
|
qcom_glink_smem_register(struct device *parent,
|
|
struct device_node *node)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
static inline void qcom_glink_smem_unregister(struct qcom_glink *glink) {}
|
|
|
|
#endif
|
|
|
|
#endif
|