Message ID | 20180122064142.GA45008@lkp-ivb-ep02.lkp.intel.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
Series | [RFC,net-next] net: aquantia: hw_atl_utils_mpi_set_speed() can be static | expand |
diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c index 967f0fd..ad87338 100644 --- a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c +++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c @@ -483,7 +483,7 @@ void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, err_exit:; } -int hw_atl_utils_mpi_set_speed(struct aq_hw_s *self, u32 speed) +static int hw_atl_utils_mpi_set_speed(struct aq_hw_s *self, u32 speed) { u32 val = aq_hw_read_reg(self, HW_ATL_MPI_CONTROL_ADR);
Fixes: 0c58c35f02c2 ("net: aquantia: Introduce firmware ops callbacks") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- hw_atl_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)