Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21774222 authored by YueHaibing's avatar YueHaibing Committed by Christoph Hellwig
Browse files

nvme-pci: make nvme_dev_pm_ops static



Fix sparse warning:

drivers/nvme/host/pci.c:2926:25: warning:
 symbol 'nvme_dev_pm_ops' was not declared. Should it be static?

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarMinwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent e0620bf8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2923,7 +2923,7 @@ static int nvme_simple_resume(struct device *dev)
	return 0;
}

const struct dev_pm_ops nvme_dev_pm_ops = {
static const struct dev_pm_ops nvme_dev_pm_ops = {
	.suspend	= nvme_suspend,
	.resume		= nvme_resume,
	.freeze		= nvme_simple_suspend,