AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.148.117.240


Current Path : /usr/src/linux-headers-5.15.0-127/include/linux/soc/qcom/
Upload File :
Current File : //usr/src/linux-headers-5.15.0-127/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