mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
net/mlx5: FPGA, make mlx5_fpga_device_brb static
Fix warning when building with -Wall:
drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c:105:5: warning: symbol 'mlx5_fpga_device_brb' was not declared. Should it be static?
Fixes: c43051d72a ("net/mlx5: FPGA, Add SBU bypass and reset flows")
Reported-by: Or Gerlitz <gerlitz.or@gmail.com>
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
committed by
Saeed Mahameed
parent
5dfd87b67c
commit
c8af01692e
@@ -102,7 +102,7 @@ static int mlx5_fpga_device_load_check(struct mlx5_fpga_device *fdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int mlx5_fpga_device_brb(struct mlx5_fpga_device *fdev)
|
||||
static int mlx5_fpga_device_brb(struct mlx5_fpga_device *fdev)
|
||||
{
|
||||
int err;
|
||||
struct mlx5_core_dev *mdev = fdev->mdev;
|
||||
|
||||
Reference in New Issue
Block a user