aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/i2c.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-03-27 11:55:20 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-27 15:06:43 -0700
commit5769e39c6a2e4d7505bd7246462250bca0146ab1 (patch)
tree68dbd90f173a436ea001f927a5cc01ad18c75871 /drivers/net/ethernet/mellanox/mlxsw/i2c.c
parentnet: phy: don't touch suspended flag if there's no suspend/resume callback (diff)
downloadlinux-dev-5769e39c6a2e4d7505bd7246462250bca0146ab1.tar.xz
linux-dev-5769e39c6a2e4d7505bd7246462250bca0146ab1.zip
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/i2c.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/i2c.c b/drivers/net/ethernet/mellanox/mlxsw/i2c.c
index 34566eb62c47..939b692ffc33 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/i2c.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/i2c.c
@@ -53,6 +53,7 @@
/**
* struct mlxsw_i2c - device private data:
+ * @cmd: command attributes;
* @cmd.mb_size_in: input mailbox size;
* @cmd.mb_off_in: input mailbox offset in register space;
* @cmd.mb_size_out: output mailbox size;