Skip to content

Commit 416b992

Browse files
arnopomathieupoirier
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent 353d921 commit 416b992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/rpmsg/rpmsg_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ struct rpmsg_device_ops {
4141
rpmsg_rx_cb_t cb, void *priv,
4242
struct rpmsg_channel_info chinfo);
4343

44-
int (*announce_create)(struct rpmsg_device *ept);
45-
int (*announce_destroy)(struct rpmsg_device *ept);
44+
int (*announce_create)(struct rpmsg_device *rpdev);
45+
int (*announce_destroy)(struct rpmsg_device *rpdev);
4646
};
4747

4848
/**

0 commit comments

Comments
 (0)