summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>2022-04-25 09:17:23 +0200
committerMathieu Poirier <mathieu.poirier@linaro.org>2022-06-24 18:58:12 +0200
commit416b992b05c94cd691a1909f10e333f02cb81e56 (patch)
tree6b3e5bad71c02871530e9cc9f6d476d20c4f8acd /drivers/rpmsg
parentrpmsg: mtk_rpmsg: Fix circular locking dependency (diff)
downloadlinux-416b992b05c94cd691a1909f10e333f02cb81e56.tar.xz
linux-416b992b05c94cd691a1909f10e333f02cb81e56.zip
rpmsg: Fix parameter naming for announce_create/destroy ops
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>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/rpmsg_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rpmsg/rpmsg_internal.h b/drivers/rpmsg/rpmsg_internal.h
index a22cd4abe7d1..39b646d0d40d 100644
--- a/drivers/rpmsg/rpmsg_internal.h
+++ b/drivers/rpmsg/rpmsg_internal.h
@@ -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);
};
/**