blob: a4dd4d7c711dc000fc3f1fe93a794dbff245b418 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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
|