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: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ido Schimmel 2020-03-27 11:55:20 +03:00 committed by David S. Miller
parent 8a8f8281e7
commit 5769e39c6a

View File

@ -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;