diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-10-16 13:50:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 20:00:07 +0300 |
commit | 0ba4ad32de3fda12eb608faea6e7c57012ecc050 (patch) | |
tree | 30995c465cfb91936093ad85ef575d20294ed8c0 /drivers | |
parent | 2c59f06cc0442862d589c36bd2f29667f96c35e7 (diff) | |
download | linux-0ba4ad32de3fda12eb608faea6e7c57012ecc050.tar.xz |
net: aquantia: make function aq_fw2x_update_stats static
Fixes the following sparse warning:
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c:282:5: warning:
symbol 'aq_fw2x_update_stats' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c index c0568465e10b..096ca5730887 100644 --- a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c +++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c @@ -279,7 +279,7 @@ static int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac) return err; } -int aq_fw2x_update_stats(struct aq_hw_s *self) +static int aq_fw2x_update_stats(struct aq_hw_s *self) { int err = 0; u32 mpi_opts = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR); |