aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-19 23:39:06 +0800
committerDavid S. Miller <davem@davemloft.net>2019-03-19 14:13:37 -0700
commit64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6 (patch)
treee98cd163e1655007eb7da6c83ed32bb1a99664e2
parenttcp: free request sock directly upon TFO or syncookies error (diff)
downloadlinux-dev-64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6.tar.xz
linux-dev-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>
-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;