mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
5052de8def
By moving these client drivers to use RPMSG instead of the direct SMD API we can reuse them ontop of the newly added GLINK wire-protocol support found in the 820 and 835 Qualcomm platforms. As the new (RPMSG-based) and old SMD implementations are mutually exclusive we have to change all client drivers in one commit, to make sure we have a working system before and after this transition. Acked-by: Andy Gross <andy.gross@linaro.org> Acked-by: Kalle Valo <kvalo@codeaurora.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
25 lines
455 B
C
25 lines
455 B
C
#ifndef __WCNSS_CTRL_H__
|
|
#define __WCNSS_CTRL_H__
|
|
|
|
#include <linux/rpmsg.h>
|
|
|
|
#if IS_ENABLED(CONFIG_QCOM_WCNSS_CTRL)
|
|
|
|
struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name,
|
|
rpmsg_rx_cb_t cb, void *priv);
|
|
|
|
#else
|
|
|
|
static struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss,
|
|
const char *name,
|
|
rpmsg_rx_cb_t cb,
|
|
void *priv)
|
|
{
|
|
WARN_ON(1);
|
|
return ERR_PTR(-ENXIO);
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|