diff options
author | 2016-09-01 15:28:06 -0700 | |
---|---|---|
committer | 2016-09-08 22:15:24 -0700 | |
commit | 3bf950ff23337fc812736520ff9d098284187844 (patch) | |
tree | 18ee3ed890e35a0f263c2f03ee134580b03e4811 /include/linux/rpmsg.h | |
parent | rpmsg: Hide rpmsg indirection tables (diff) | |
download | linux-3bf950ff23337fc812736520ff9d098284187844.tar.gz linux-3bf950ff23337fc812736520ff9d098284187844.tar.bz2 linux-3bf950ff23337fc812736520ff9d098284187844.zip |
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>
Diffstat (limited to 'include/linux/rpmsg.h')
-rw-r--r-- | include/linux/rpmsg.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/rpmsg.h b/include/linux/rpmsg.h index 4f9445f71f2f..b4b56b010f71 100644 --- a/include/linux/rpmsg.h +++ b/include/linux/rpmsg.h @@ -95,7 +95,6 @@ enum rpmsg_ns_flags { #define RPMSG_ADDR_ANY 0xFFFFFFFF -struct virtproc_info; struct rpmsg_device; struct rpmsg_endpoint; struct rpmsg_device_ops; @@ -115,7 +114,6 @@ struct rpmsg_channel_info { /** * rpmsg_device - device that belong to the rpmsg bus - * @vrp: the remote processor this channel belongs to * @dev: the device struct * @id: device id (used to match between rpmsg drivers and devices) * @src: local address @@ -124,7 +122,6 @@ struct rpmsg_channel_info { * @announce: if set, rpmsg will announce the creation/removal of this channel */ struct rpmsg_device { - struct virtproc_info *vrp; struct device dev; struct rpmsg_device_id id; u32 src; |