HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/thread-self/root/lib/modules/5.4.0-212-generic/build/include/linux/soc/qcom/wcnss_ctrl.h
/* 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