rpmsg: Introduce indirection table for rpmsg_device operations
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 1 Sep 2016 22:27:58 +0000 (15:27 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 9 Sep 2016 05:15:20 +0000 (22:15 -0700)
commit36b72c7dca718717108120cdff7b56258a8862b4
treee1a982d2a3e1f9eeb08692f6963d5091600455a3
parent92e1de51bf2cb8d49adc8925abe56ce84911a232
rpmsg: Introduce indirection table for rpmsg_device operations

To allow for multiple backend implementations add an indireection table
for rpmsg_device related operations and move the virtio implementation
behind this table.

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