Skip to content
Commit b69f4abc authored by Julia Lawall's avatar Julia Lawall Committed by Lorenzo Pieralisi
Browse files

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 65102238
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment