mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
9403cf2302
commit
64c4052584
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue