Commit 416b992b authored by Arnaud Pouliquen's avatar Arnaud Pouliquen Committed by Mathieu Poirier

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: default avatarArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20220425071723.774050-1-arnaud.pouliquen@foss.st.comSigned-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent 353d9214
...@@ -41,8 +41,8 @@ struct rpmsg_device_ops { ...@@ -41,8 +41,8 @@ struct rpmsg_device_ops {
rpmsg_rx_cb_t cb, void *priv, rpmsg_rx_cb_t cb, void *priv,
struct rpmsg_channel_info chinfo); struct rpmsg_channel_info chinfo);
int (*announce_create)(struct rpmsg_device *ept); int (*announce_create)(struct rpmsg_device *rpdev);
int (*announce_destroy)(struct rpmsg_device *ept); int (*announce_destroy)(struct rpmsg_device *rpdev);
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment