Message ID | 20180605102208.GA20616@intel11 |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
Series | [RFC] net: aquantia: hw_atl_utils_mpi_set_state() 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 9d0a96d..3d60a48 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 @@ -533,8 +533,8 @@ int hw_atl_utils_mpi_set_speed(struct aq_hw_s *self, u32 speed) return 0; } -int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, - enum hal_atl_utils_fw_state_e state) +static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, + enum hal_atl_utils_fw_state_e state) { int err = 0; u32 transaction_id = 0;
Fixes: 45c5c36aa288 ("net: aquantia: Improve adapter init/deinit logic") Signed-off-by: kbuild test robot <fengguang.wu@intel.com> --- hw_atl_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)