summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/pasemi
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-19 16:39:06 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-19 22:13:37 +0100
commit64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6 (patch)
treee98cd163e1655007eb7da6c83ed32bb1a99664e2 /drivers/net/ethernet/pasemi
parenttcp: free request sock directly upon TFO or syncookies error (diff)
downloadlinux-64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6.tar.xz
linux-64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6.zip
net: pasemi: Make pasemi_mac_init_module static
Fix sparse warning: drivers/net/ethernet/pasemi/pasemi_mac.c:1842:5: warning: symbol 'pasemi_mac_init_module' 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/net/ethernet/pasemi')
-rw-r--r--drivers/net/ethernet/pasemi/pasemi_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pasemi/pasemi_mac.c b/drivers/net/ethernet/pasemi/pasemi_mac.c
index a5bf46310f60..55d686ed8cdf 100644
--- a/drivers/net/ethernet/pasemi/pasemi_mac.c
+++ b/drivers/net/ethernet/pasemi/pasemi_mac.c
@@ -1839,7 +1839,7 @@ static void __exit pasemi_mac_cleanup_module(void)
pci_unregister_driver(&pasemi_mac_driver);
}
-int pasemi_mac_init_module(void)
+static int pasemi_mac_init_module(void)
{
int err;