PCI: pci-bridge-emul: Make struct pci_bridge_emul_ops as const
authorPali Rohár <pali@kernel.org>
Tue, 4 Jan 2022 15:35:20 +0000 (16:35 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 3 Feb 2022 10:52:21 +0000 (10:52 +0000)
commit64a70f521e1355d44280abaaf04aacdf8cd77723
tree1c12c6122207795c65fd3b9826eedb81ee63cb05
parente621e106a139c1f9309aff383f92a94fce59352f
PCI: pci-bridge-emul: Make struct pci_bridge_emul_ops as const

It is read-only constant structure, so properly mark it with const keyword.

Link: https://lore.kernel.org/r/20220104153529.31647-3-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
drivers/pci/controller/pci-aardvark.c
drivers/pci/controller/pci-mvebu.c
drivers/pci/pci-bridge-emul.h