cregit-Linux how code gets into the kernel

Release 4.10 include/linux/rpmsg/qcom_smd.h

#ifndef _LINUX_RPMSG_QCOM_SMD_H

#define _LINUX_RPMSG_QCOM_SMD_H

#include <linux/device.h>

struct qcom_smd_edge;

#if IS_ENABLED(CONFIG_RPMSG_QCOM_SMD) || IS_ENABLED(CONFIG_QCOM_SMD)

struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,
					     struct device_node *node);
int qcom_smd_unregister_edge(struct qcom_smd_edge *edge);

#else


static inline struct qcom_smd_edge * qcom_smd_register_edge(struct device *parent, struct device_node *node) { return ERR_PTR(-ENXIO); }

Contributors

PersonTokensPropCommitsCommitProp
bjorn anderssonbjorn andersson26100.00%1100.00%
Total26100.00%1100.00%


static inline int qcom_smd_unregister_edge(struct qcom_smd_edge *edge) { /* This shouldn't be possible */ WARN_ON(1); return -ENXIO; }

Contributors

PersonTokensPropCommitsCommitProp
bjorn anderssonbjorn andersson22100.00%1100.00%
Total22100.00%1100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
bjorn anderssonbjorn andersson102100.00%1100.00%
Total102100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.