forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
494 B
25 lines
494 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#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
|
|
|