Commit 0ee0bbb0 authored by zhengbin's avatar zhengbin Committed by David S. Miller
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 8aaa112a ("net: atlantic: refactoring pm logic")
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b55cbbee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -423,7 +423,7 @@ static int aq_pm_resume_restore(struct device *dev)
	return atl_resume_common(dev, true);
}

const struct dev_pm_ops aq_pm_ops = {
static const struct dev_pm_ops aq_pm_ops = {
	.suspend = aq_pm_suspend_poweroff,
	.poweroff = aq_pm_suspend_poweroff,
	.freeze = aq_pm_freeze,