[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200731121043.24199-7-arnaud.pouliquen@st.com>
Date: Fri, 31 Jul 2020 14:10:36 +0200
From: Arnaud Pouliquen <arnaud.pouliquen@...com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>,
Ohad Ben-Cohen <ohad@...ery.com>,
Mathieu Poirier <mathieu.poirier@...aro.org>
CC: <linux-remoteproc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<arnaud.pouliquen@...com>
Subject: [PATCH 06/13] rpmsg: add RPMsg control info structure
Add new structure for RPMsg driver registration.
This structure will be used to link a service to its driver.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@...com>
---
include/linux/rpmsg.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/include/linux/rpmsg.h b/include/linux/rpmsg.h
index 5496d27c6f8c..ef8d1b987d38 100644
--- a/include/linux/rpmsg.h
+++ b/include/linux/rpmsg.h
@@ -34,6 +34,19 @@ struct rpmsg_endpoint;
struct rpmsg_device_ops;
struct rpmsg_endpoint_ops;
+/**
+ * struct rpmsg_drv_ctrl_info - rpmsg ctrl structure
+ * @drv_name: name of the associated driver
+ * @service: the associated rpmsg service listed in @rpmsg_services
+ *
+ * This structure is used by rpmsg_ctl to link the endpoint creation to the
+ * service rpmsg driver.
+ */
+struct rpmsg_drv_ctrl_info {
+ const char *drv_name;
+ u32 service;
+};
+
/**
* struct rpmsg_channel_info - channel info representation
* @name: name of service
--
2.17.1
Powered by blists - more mailing lists