PCI: histb: Constify dw_pcie_host_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 27 Oct 2018 18:31:19 +0000 (20:31 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 8 Nov 2018 13:54:44 +0000 (13:54 +0000)
commitb69f4abc125f6f4eada8423b5d8637c7550f90a0
treec28b8f5b25a7821484598c231659e93842c99beb
parent651022382c7f8da46cb4872a545ee1da6d097d2a
PCI: histb: Constify dw_pcie_host_ops structure

The dw_pcie_host_ops structure is only stored in the ops field
of a pcie_port structure, and this field is const, so make the
dw_pcie_host_ops structure const as well.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
drivers/pci/controller/dwc/pcie-histb.c