Skip to content

Commit 8990e38

Browse files
bjdooks-ctLorenzo Pieralisi
authored andcommitted
PCI: mvebu: Make mvebu_pci_bridge_emul_ops static
The mvebu_pci_bridge_emul_ops is not exported outside of the driver, so make it static to avoid the following sparse warning: drivers/pci/controller/pci-mvebu.c:557:28: warning: symbol 'mvebu_pci_bridge_emul_ops' was not declared. Should it be static? Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Cc: Thomas Petazzoni <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Lorenzo Pieralisi <[email protected]> Cc: Andrew Murray <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected]
1 parent a243bf3 commit 8990e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/pci-mvebu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge,
554554
}
555555
}
556556

557-
struct pci_bridge_emul_ops mvebu_pci_bridge_emul_ops = {
557+
static struct pci_bridge_emul_ops mvebu_pci_bridge_emul_ops = {
558558
.write_base = mvebu_pci_bridge_emul_base_conf_write,
559559
.read_pcie = mvebu_pci_bridge_emul_pcie_conf_read,
560560
.write_pcie = mvebu_pci_bridge_emul_pcie_conf_write,

0 commit comments

Comments
 (0)