Skip to content

Commit

Permalink
Merge branch 'remotes/lorenzo/pci/mobiveil'
Browse files Browse the repository at this point in the history
- Removed unused readl and writel functions (Krzysztof Wilczyński)

* remotes/lorenzo/pci/mobiveil:
  PCI: mobiveil: Remove unused readl and writel functions
  • Loading branch information
Bjorn Helgaas committed Jul 6, 2021
2 parents 25f2d74 + 42d7a8d commit d58b206
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d58b206

Please sign in to comment.