]> 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)
commit1a2897fca23ebc2b3f08df31f3bebd32c88bb87f
treebe5d01ad3103530bd3f108b159e27ad60a0fa59d
parent1cf93347a6f6c12937fef301b8010ed3e2ee575c
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: 4457317b501e ("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