]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Create the mlxsw_fw_rev struct
authorYotam Gigi <yotamg@mellanox.com>
Tue, 23 May 2017 19:56:28 +0000 (21:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 May 2017 21:46:17 +0000 (17:46 -0400)
commita61e52e9083a5623848b83c2eb4c46d30e39834f
tree17b0b875c90d6d6e122842e3997a653b822d4c6f
parent5701b6bbd513f1613a79b7e05b24fd9b4cdc7eba
mlxsw: core: Create the mlxsw_fw_rev struct

This struct was previously an anonymous struct defined inside the
mlxsw_bus_info struct. Extract it to a struct named mlxsw_fw_rev, as it
will be needed later by the spectrum driver.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.h