From: Jisheng Zhang Date: Wed, 16 Mar 2016 09:59:40 +0000 (+0800) Subject: PCI: mvebu: Constify mvebu_pcie_pm_ops structure X-Git-Tag: v4.7-rc1~117^2~3^7~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6e9a426d7964703098bde5752ae5d062a596ca99;p=karo-tx-linux.git PCI: mvebu: Constify mvebu_pcie_pm_ops structure The mvebu_pcie_pm_ops structure is never modified, so declare it as const. Signed-off-by: Jisheng Zhang Signed-off-by: Bjorn Helgaas Reviewed-by: Thomas Petazzoni --- diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index 53b79c5f0559..6c43cb88da12 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -1298,7 +1298,7 @@ static const struct of_device_id mvebu_pcie_of_match_table[] = { }; MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table); -static struct dev_pm_ops mvebu_pcie_pm_ops = { +static const struct dev_pm_ops mvebu_pcie_pm_ops = { .suspend_noirq = mvebu_pcie_suspend, .resume_noirq = mvebu_pcie_resume, };