diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-09-01 15:28:01 -0700 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-09-08 22:15:22 -0700 |
commit | c9bd6f422090b874b5877b4cedcd7757eac33117 (patch) | |
tree | 6ed5722a4f4d050091007a4ff63bb936c85f459a /drivers/rpmsg/virtio_rpmsg_bus.c | |
parent | 8a228ecfe086b84e237a8d78be079e286e1ea67b (diff) | |
download | linux-c9bd6f422090b874b5877b4cedcd7757eac33117.tar.gz linux-c9bd6f422090b874b5877b4cedcd7757eac33117.tar.bz2 linux-c9bd6f422090b874b5877b4cedcd7757eac33117.zip |
rpmsg: Move endpoint related interface to rpmsg core
Move the rpmsg_send() and rpmsg_destroy_ept() interface to the rpmsg
core, so that we eventually can hide the rpmsg_endpoint ops from the
public API.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/virtio_rpmsg_bus.c')
-rw-r--r-- | drivers/rpmsg/virtio_rpmsg_bus.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c index e5f256791fd3..184663276e51 100644 --- a/drivers/rpmsg/virtio_rpmsg_bus.c +++ b/drivers/rpmsg/virtio_rpmsg_bus.c @@ -299,19 +299,6 @@ __rpmsg_destroy_ept(struct virtproc_info *vrp, struct rpmsg_endpoint *ept) kref_put(&ept->refcount, __ept_release); } -/** - * rpmsg_destroy_ept() - destroy an existing rpmsg endpoint - * @ept: endpoing to destroy - * - * Should be used by drivers to destroy an rpmsg endpoint previously - * created with rpmsg_create_ept(). - */ -void rpmsg_destroy_ept(struct rpmsg_endpoint *ept) -{ - ept->ops->destroy_ept(ept); -} -EXPORT_SYMBOL(rpmsg_destroy_ept); - static void virtio_rpmsg_destroy_ept(struct rpmsg_endpoint *ept) { __rpmsg_destroy_ept(ept->rpdev->vrp, ept); |