Commit 5769e39c authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller

mlxsw: i2c: Add missing field documentation

Suppress following warning when compiling with W=1:

drivers/net/ethernet/mellanox/mlxsw//i2c.c:78: warning: Function
parameter or member 'cmd' not described in 'mlxsw_i2c'
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a8f8281
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
/** /**
* struct mlxsw_i2c - device private data: * struct mlxsw_i2c - device private data:
* @cmd: command attributes;
* @cmd.mb_size_in: input mailbox size; * @cmd.mb_size_in: input mailbox size;
* @cmd.mb_off_in: input mailbox offset in register space; * @cmd.mb_off_in: input mailbox offset in register space;
* @cmd.mb_size_out: output mailbox size; * @cmd.mb_size_out: output mailbox size;
......
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