Skip to content

Commit 5fa1dd8

Browse files
author
Tzung-Bi Shih
committed
platform/chrome: fix kernel-doc warnings for cros_ec_command
Fix the following kernel-doc warnings: $ ./scripts/kernel-doc -none \ include/linux/platform_data/cros_ec_commands.h include/linux/platform_data/cros_ec_commands.h:1092: warning: expecting prototype for struct ec_response_get_cmd_version. Prototype was for struct ec_response_get_cmd_versions instead include/linux/platform_data/cros_ec_commands.h:5485: warning: This comment starts with '/**', but isn't a kernel-doc comment. include/linux/platform_data/cros_ec_commands.h:5496: warning: This comment starts with '/**', but isn't a kernel-doc comment. Signed-off-by: Tzung-Bi Shih <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 212c9b9 commit 5fa1dd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/linux/platform_data/cros_ec_commands.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ struct ec_params_get_cmd_versions_v1 {
10821082
} __ec_align2;
10831083

10841084
/**
1085-
* struct ec_response_get_cmd_version - Response to the get command versions.
1085+
* struct ec_response_get_cmd_versions - Response to the get command versions.
10861086
* @version_mask: Mask of supported versions; use EC_VER_MASK() to compare with
10871087
* a desired version.
10881088
*/
@@ -5480,7 +5480,7 @@ struct ec_response_rollback_info {
54805480
/* Issue AP reset */
54815481
#define EC_CMD_AP_RESET 0x0125
54825482

5483-
/**
5483+
/*
54845484
* Get the number of peripheral charge ports
54855485
*/
54865486
#define EC_CMD_PCHG_COUNT 0x0134
@@ -5491,7 +5491,7 @@ struct ec_response_pchg_count {
54915491
uint8_t port_count;
54925492
} __ec_align1;
54935493

5494-
/**
5494+
/*
54955495
* Get the status of a peripheral charge port
54965496
*/
54975497
#define EC_CMD_PCHG 0x0135

0 commit comments

Comments
 (0)