PCI / PM: constify pci_platform_pm_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 6 Dec 2015 16:33:45 +0000 (17:33 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Dec 2015 00:34:32 +0000 (01:34 +0100)
commit299f2ffed329c1a2ea8d6e90f0df26b885d16e08
tree3a4bc66b9dfbf849cedc6ccc9b0f00e21095c09a
parent527e9316f8ec44bd53d90fb9f611fa7ffff52bb9
PCI / PM: constify pci_platform_pm_ops structure

The pci_platform_pm_ops structure is never modified, so declare it as
const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pci-acpi.c
drivers/pci/pci.c
drivers/pci/pci.h