]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: make symbol 'aq_pm_ops' static
authorzhengbin <zhengbin13@huawei.com>
Tue, 12 Nov 2019 06:59:41 +0000 (14:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 18:55:41 +0000 (10:55 -0800)
commit479f2cc1e4bd967ebc520f1ad9857fa6c3db97e7
treebe5d01ad3103530bd3f108b159e27ad60a0fa59d
parent5053d0bb012e4730ebf822d6fa5dc5740649354c
net: atlantic: make symbol 'aq_pm_ops' static

Fix sparse warnings:

drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:426:25: warning: symbol 'aq_pm_ops' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 9230224bc11a ("net: atlantic: refactoring pm logic")
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c