1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __WCNSS_CTRL_H__
3 #define __WCNSS_CTRL_H__
5 #include <linux/rpmsg.h>
7 #if IS_ENABLED(CONFIG_QCOM_WCNSS_CTRL)
9 struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name,
10 rpmsg_rx_cb_t cb, void *priv);
14 static struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss,
20 return ERR_PTR(-ENXIO);