cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

wcnss_ctrl.h (494B)


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