Tag: bd7900825a3db4c4916fafb400c1f669120039d2

PCI: shpchp: Constify hpc_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The hpc_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Bjorn Helgaas — drivers/pci/hotplug/shpchp.h | 4 ++– drivers/pci/hotplug/shpchp_hpc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)   diff –git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index 821227f..4da8fc6 100644 — a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h …

Continue reading