PCI: shpchp: Constify hpc_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 23 Dec 2015 20:35:35 +0000 (21:35 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 8 Jan 2016 18:10:00 +0000 (12:10 -0600)
commitbd7900825a3db4c4916fafb400c1f669120039d2
treed1a4adea2f4b68e15eeb65c603e77acd1c0c9403
parent554a60379aaa502def3c77ae1af69247588c020a
PCI: shpchp: Constify hpc_ops structure

The hpc_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>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_hpc.c