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)
commitc41d007588c1b6dac9f6d08c92d7449a8c2bfef8
tree17b0b875c90d6d6e122842e3997a653b822d4c6f
parente5e5c88a1f29096f8a6768975d3f987f7eb59d67
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