aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-09-07 13:24:01 -0500
committerBjorn Helgaas <bhelgaas@google.com>2017-09-07 13:24:01 -0500
commit0964c40f3acd468b29524c0c106c5560cde9ff5f (patch)
treece7da1575f52c49b68290b072a8cd74a0fefa24c /drivers/pci
parentMerge branch 'pci/host-keystone' into next (diff)
parentPCI: kirin: Constify dw_pcie_host_ops structure (diff)
downloadlinux-dev-0964c40f3acd468b29524c0c106c5560cde9ff5f.tar.xz
linux-dev-0964c40f3acd468b29524c0c106c5560cde9ff5f.zip
Merge branch 'pci/host-kirin' into next
* pci/host-kirin: PCI: kirin: Constify dw_pcie_host_ops structure
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/dwc/pcie-kirin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dwc/pcie-kirin.c b/drivers/pci/dwc/pcie-kirin.c
index 0b0eb67f2658..dc3033cf3c19 100644
--- a/drivers/pci/dwc/pcie-kirin.c
+++ b/drivers/pci/dwc/pcie-kirin.c
@@ -443,7 +443,7 @@ static struct dw_pcie_ops kirin_dw_pcie_ops = {
.link_up = kirin_pcie_link_up,
};
-static struct dw_pcie_host_ops kirin_pcie_host_ops = {
+static const struct dw_pcie_host_ops kirin_pcie_host_ops = {
.rd_own_conf = kirin_pcie_rd_own_conf,
.wr_own_conf = kirin_pcie_wr_own_conf,
.host_init = kirin_pcie_host_init,