mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward declarations
authorIdo Schimmel <idosch@nvidia.com>
Mon, 6 Feb 2023 15:39:21 +0000 (16:39 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Feb 2023 04:18:49 +0000 (20:18 -0800)
commit194ab9476089bbfc021073214e071a404e375ee6
tree55f8df8ea55a3dec78407766a58e4054ac85cd2d
parent61fe3b9102ac84ba479ab84d8f5454af2e21e468
mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward declarations

Move the initialization and de-initialization code further below in
order to avoid forward declarations in the next patch. No functional
changes.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c