Skip to content

Commit 9a876ba

Browse files
author
Enric Balletbo i Serra
committed
platform/chrome: cros_ec_rpmsg: Document missing struct parameters
Kerneldoc expects all kernel structure member to be documented. Fixes the following W=1 level warnings: cros_ec_rpmsg.c:49: warning: Function parameter or member 'ept' not described in 'cros_ec_rpmsg' cros_ec_rpmsg.c:49: warning: Function parameter or member 'has_pending_host_event' not described in 'cros_ec_rpmsg' cros_ec_rpmsg.c:49: warning: Function parameter or member 'probe_done' not described in 'cros_ec_rpmsg' Signed-off-by: Enric Balletbo i Serra <[email protected]> Reviewed-by: Gwendal Grignou <[email protected]>
1 parent 3c5ca50 commit 9a876ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/platform/chrome/cros_ec_rpmsg.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ struct cros_ec_rpmsg_response {
3838
* @rpdev: rpmsg device we are connected to
3939
* @xfer_ack: completion for host command transfer.
4040
* @host_event_work: Work struct for pending host event.
41+
* @ept: The rpmsg endpoint of this channel.
42+
* @has_pending_host_event: Boolean used to check if there is a pending event.
43+
* @probe_done: Flag to indicate that probe is done.
4144
*/
4245
struct cros_ec_rpmsg {
4346
struct rpmsg_device *rpdev;

0 commit comments

Comments
 (0)