diff options
| author | Kishon Vijay Abraham I <[email protected]> | 2019-03-25 09:39:40 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2019-04-15 12:24:02 +0000 |
| commit | 626961dd6d32edcdbea1ebc488305533960b5d08 (patch) | |
| tree | a3b34004cf36db3115f46157f87591affd0bbef2 /drivers/pci/controller/dwc/pci-layerscape-ep.c | |
| parent | PCI: endpoint: Add support to specify alignment for buffers allocated to BARs (diff) | |
| download | kernel-626961dd6d32edcdbea1ebc488305533960b5d08.tar.gz kernel-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 <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape-ep.c')
| -rw-r--r-- | drivers/pci/controller/dwc/pci-layerscape-ep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c index a42c9c3ae1cc..be61d96cc95e 100644 --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c @@ -79,7 +79,7 @@ static int ls_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no, } } -static struct dw_pcie_ep_ops pcie_ep_ops = { +static const struct dw_pcie_ep_ops pcie_ep_ops = { .ep_init = ls_pcie_ep_init, .raise_irq = ls_pcie_ep_raise_irq, .get_features = ls_pcie_ep_get_features, |
