summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/pci.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2016-10-21 16:07:21 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-23 17:21:29 -0400
commit8e9658d56718a62d0586f4dbb61b68b07d3c6cc0 (patch)
treee6b2d87811f225f106b4507f5b8f9aaf618f936c /drivers/net/ethernet/mellanox/mlxsw/pci.c
parent21978dcfc8d847db3e280427547241a59d58ac01 (diff)
downloadblackbird-op-linux-8e9658d56718a62d0586f4dbb61b68b07d3c6cc0.tar.gz
blackbird-op-linux-8e9658d56718a62d0586f4dbb61b68b07d3c6cc0.zip
mlxsw: reg: Generare register names automatically
Extend the MLXSW_REG_DEFINE macro to store register name in string form. Use this string later on instead of hard coded string values. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud