diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-07-06 17:56:32 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-07-06 17:56:32 +0200 |
commit | d58b2061105956f6e69691bf0259b1dd1e9fb601 (patch) | |
tree | 8faa001f805c8ad011cb0270f99ae0712632e8ac /drivers/pci | |
parent | Merge branch 'remotes/lorenzo/pci/microchip' (diff) | |
parent | PCI: mobiveil: Remove unused readl and writel functions (diff) | |
download | linux-d58b2061105956f6e69691bf0259b1dd1e9fb601.tar.xz linux-d58b2061105956f6e69691bf0259b1dd1e9fb601.zip |
Merge branch 'remotes/lorenzo/pci/mobiveil'
- Removed unused readl and writel functions (Krzysztof WilczyĆski)
* remotes/lorenzo/pci/mobiveil:
PCI: mobiveil: Remove unused readl and writel functions
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c b/drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c index ee0156921ebc..306950272fd6 100644 --- a/drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c +++ b/drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c @@ -42,17 +42,6 @@ struct ls_pcie_g4 { int irq; }; -static inline u32 ls_pcie_g4_lut_readl(struct ls_pcie_g4 *pcie, u32 off) -{ - return ioread32(pcie->pci.csr_axi_slave_base + PCIE_LUT_OFF + off); -} - -static inline void ls_pcie_g4_lut_writel(struct ls_pcie_g4 *pcie, - u32 off, u32 val) -{ - iowrite32(val, pcie->pci.csr_axi_slave_base + PCIE_LUT_OFF + off); -} - static inline u32 ls_pcie_g4_pf_readl(struct ls_pcie_g4 *pcie, u32 off) { return ioread32(pcie->pci.csr_axi_slave_base + PCIE_PF_OFF + off); |