diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2019-03-25 15:09:40 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-04-15 13:24:02 +0100 |
commit | 626961dd6d32edcdbea1ebc488305533960b5d08 (patch) | |
tree | a3b34004cf36db3115f46157f87591affd0bbef2 /drivers/pci/controller/dwc/pcie-artpec6.c | |
parent | 2a9a801620efac92885fc9cd53594c0b9aba87a4 (diff) | |
download | lwn-626961dd6d32edcdbea1ebc488305533960b5d08.tar.gz lwn-626961dd6d32edcdbea1ebc488305533960b5d08.zip |
PCI: dwc: Add const qualifier to struct dw_pcie_ep_ops
Add const qualifier to struct dw_pcie_ep_ops member of
struct dw_pcie_ep.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-artpec6.c')
-rw-r--r-- | drivers/pci/controller/dwc/pcie-artpec6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-artpec6.c b/drivers/pci/controller/dwc/pcie-artpec6.c index dba83abfe764..d00252bd8fae 100644 --- a/drivers/pci/controller/dwc/pcie-artpec6.c +++ b/drivers/pci/controller/dwc/pcie-artpec6.c @@ -444,7 +444,7 @@ static int artpec6_pcie_raise_irq(struct dw_pcie_ep *ep, u8 func_no, return 0; } -static struct dw_pcie_ep_ops pcie_ep_ops = { +static const struct dw_pcie_ep_ops pcie_ep_ops = { .ep_init = artpec6_pcie_ep_init, .raise_irq = artpec6_pcie_raise_irq, }; |