rpmsg: virtio: Hide vrp pointer from the public API
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 1 Sep 2016 22:28:06 +0000 (15:28 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 9 Sep 2016 05:15:24 +0000 (22:15 -0700)
commit3bf950ff23337fc812736520ff9d098284187844
tree18ee3ed890e35a0f263c2f03ee134580b03e4811
parentfade037e0fd504cd02f51d280928d89c75527f2e
rpmsg: virtio: Hide vrp pointer from the public API

Create a container struct virtio_rpmsg_channel around the rpmsg_channel
to keep virtio backend information separate from the rpmsg and public
API. This makes the public structures independant of virtio.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/virtio_rpmsg_bus.c
include/linux/rpmsg.h