rpmsg: Fix parameter naming for announce_create/destroy ops
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Mon, 25 Apr 2022 07:17:23 +0000 (09:17 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 24 Jun 2022 16:58:12 +0000 (10:58 -0600)
The parameter associated to the announce_create and
announce_destroy ops functions is not an endpoint but a rpmsg device.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20220425071723.774050-1-arnaud.pouliquen@foss.st.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/rpmsg/rpmsg_internal.h

index a22cd4abe7d1ab840882c5e62abc782c82d1655e..39b646d0d40d7c40637016332f8e67775a2ed993 100644 (file)
@@ -41,8 +41,8 @@ struct rpmsg_device_ops {
                                            rpmsg_rx_cb_t cb, void *priv,
                                            struct rpmsg_channel_info chinfo);
 
-       int (*announce_create)(struct rpmsg_device *ept);
-       int (*announce_destroy)(struct rpmsg_device *ept);
+       int (*announce_create)(struct rpmsg_device *rpdev);
+       int (*announce_destroy)(struct rpmsg_device *rpdev);
 };
 
 /**