Commit 76a45194 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

net: aquantia: make function aq_fw2x_get_mac_permanent static

The function aq_fw2x_get_mac_permanent is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
warning: symbol 'aq_fw2x_get_mac_permanent' was not declared. Should it
be static?
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d3adce9d
...@@ -107,7 +107,7 @@ static int aq_fw2x_update_link_status(struct aq_hw_s *self) ...@@ -107,7 +107,7 @@ static int aq_fw2x_update_link_status(struct aq_hw_s *self)
return 0; return 0;
} }
int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac) static int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac)
{ {
int err = 0; int err = 0;
u32 h = 0U; u32 h = 0U;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment