mlxsw: reg: Move enum mlxsw_reg_ratr_trap_id
authorPetr Machata <petrm@mellanox.com>
Sat, 2 Sep 2017 21:49:11 +0000 (23:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Sep 2017 03:23:24 +0000 (20:23 -0700)
commit6c4153b1e7b71ba5e9183f14eed58a5277be3894
tree6aef2ce82c204c25aa80a02fb868dbdd5c40ea2d
parent7c819de4389bf91878954f41e51a0003171217ff
mlxsw: reg: Move enum mlxsw_reg_ratr_trap_id

This enum is used with reg_ratr_trap_id, so move it next to the register
definition.

While at it, drop the enumerator initializers.

Signed-off-by: Petr Machata <petrm@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/reg.h