Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / soc / qcom / wcnss_ctrl.h
blobbbeb6b9c0221d67d827aec109fe2d0538b5d672c
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);
12 #else
14 static struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss,
15 const char *name,
16 rpmsg_rx_cb_t cb,
17 void *priv)
19 WARN_ON(1);
20 return ERR_PTR(-ENXIO);
23 #endif
25 #endif