mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
![Bjorn Andersson](/assets/img/avatar_default.png)
Remove the standalone SMD implementation as we have transitioned the client drivers to use the RPMSG based one. Also remove all dependencies on QCOM_SMD from Kconfig files, in order to keep them selectable in the absence of the removed symbol. Acked-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
31 lines
565 B
C
31 lines
565 B
C
|
|
#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)
|
|
|
|
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 NULL;
|
|
}
|
|
|
|
static inline int qcom_smd_unregister_edge(struct qcom_smd_edge *edge)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|