Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.13-rc6 24 lines 455 B view raw
1#ifndef __WCNSS_CTRL_H__ 2#define __WCNSS_CTRL_H__ 3 4#include <linux/rpmsg.h> 5 6#if IS_ENABLED(CONFIG_QCOM_WCNSS_CTRL) 7 8struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name, 9 rpmsg_rx_cb_t cb, void *priv); 10 11#else 12 13static struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, 14 const char *name, 15 rpmsg_rx_cb_t cb, 16 void *priv) 17{ 18 WARN_ON(1); 19 return ERR_PTR(-ENXIO); 20} 21 22#endif 23 24#endif