net: pasemi: Make pasemi_mac_init_module static
authorYueHaibing <yuehaibing@huawei.com>
Tue, 19 Mar 2019 15:39:06 +0000 (23:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 21:13:37 +0000 (14:13 -0700)
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>
drivers/net/ethernet/pasemi/pasemi_mac.c

index a5bf463..55d686e 100644 (file)
@@ -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;