mlxsw: spectrum: move "bridged" bool to u8 flags
authorJiri Pirko <jiri@mellanox.com>
Wed, 28 Oct 2015 09:16:56 +0000 (10:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2015 03:26:42 +0000 (12:26 +0900)
commit0d9b970cee612968c6b888b93736d991762b9edb
tree87f5a4e4f0fa7a471d7e3196dfaa30328b066238
parent371e59adcebf9953385bf46d5325ac39a53c5520
mlxsw: spectrum: move "bridged" bool to u8 flags

It is a flag anyway, so move it to existing u8 flag and don't waste mem.
Fix the flags to be in single u8 on the way.

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