summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed.h
diff options
context:
space:
mode:
authorTomer Tayar <Tomer.Tayar@cavium.com>2017-05-23 09:41:22 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-24 15:17:19 -0400
commit78cea9ffaa34d289212a2444c2e357f7dabcf674 (patch)
tree83397c02d004bc2a12c6aea7de84a9ba148c9b0d /drivers/net/ethernet/qlogic/qed/qed.h
parentfc561c8bfe831c1509b7f6af3f45fbea78632539 (diff)
downloadlinux-78cea9ffaa34d289212a2444c2e357f7dabcf674.tar.gz
linux-78cea9ffaa34d289212a2444c2e357f7dabcf674.tar.bz2
linux-78cea9ffaa34d289212a2444c2e357f7dabcf674.zip
qed: Drop the 's' from num_ports_in_engines
The parameter reflects the number of physical ports connected to a single engine, not all. Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed.h')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h
index fd8cf31cce05..63c44c60eef3 100644
--- a/drivers/net/ethernet/qlogic/qed/qed.h
+++ b/drivers/net/ethernet/qlogic/qed/qed.h
@@ -633,7 +633,7 @@ struct qed_dev {
#define CHIP_BOND_ID_SHIFT 0
u8 num_engines;
- u8 num_ports_in_engines;
+ u8 num_ports_in_engine;
u8 num_funcs_in_port;
u8 path_id;