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: 8aaa112a57
("net: atlantic: refactoring pm logic")
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b55cbbee74
commit
0ee0bbb018
|
@ -423,7 +423,7 @@ static int aq_pm_resume_restore(struct device *dev)
|
||||||
return atl_resume_common(dev, true);
|
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,
|
.suspend = aq_pm_suspend_poweroff,
|
||||||
.poweroff = aq_pm_suspend_poweroff,
|
.poweroff = aq_pm_suspend_poweroff,
|
||||||
.freeze = aq_pm_freeze,
|
.freeze = aq_pm_freeze,
|
||||||
|
|
Loading…
Reference in New Issue