Skip to content

Commit 8fa9663

Browse files
committed
PCI: iproc: Rename iproc_pcie_bcma_ to iproc_bcma_pcie_
Rename iproc_pcie_bcma_* to iproc_bcma_pcie_* for consistency with other drivers. No functional change intended. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Cc: Ray Jui <[email protected]> Cc: Scott Branden <[email protected]>
1 parent 733770d commit 8fa9663

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

drivers/pci/controller/pcie-iproc-bcma.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ static void bcma_pcie2_fixup_class(struct pci_dev *dev)
2323
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_BROADCOM, 0x8011, bcma_pcie2_fixup_class);
2424
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_BROADCOM, 0x8012, bcma_pcie2_fixup_class);
2525

26-
static int iproc_pcie_bcma_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
26+
static int iproc_bcma_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
2727
{
2828
struct iproc_pcie *pcie = dev->sysdata;
2929
struct bcma_device *bdev = container_of(pcie->dev, struct bcma_device, dev);
3030

3131
return bcma_core_irq(bdev, 5);
3232
}
3333

34-
static int iproc_pcie_bcma_probe(struct bcma_device *bdev)
34+
static int iproc_bcma_pcie_probe(struct bcma_device *bdev)
3535
{
3636
struct device *dev = &bdev->dev;
3737
struct iproc_pcie *pcie;
@@ -64,33 +64,33 @@ static int iproc_pcie_bcma_probe(struct bcma_device *bdev)
6464
if (ret)
6565
return ret;
6666

67-
pcie->map_irq = iproc_pcie_bcma_map_irq;
67+
pcie->map_irq = iproc_bcma_pcie_map_irq;
6868

6969
bcma_set_drvdata(bdev, pcie);
7070

7171
return iproc_pcie_setup(pcie, &bridge->windows);
7272
}
7373

74-
static void iproc_pcie_bcma_remove(struct bcma_device *bdev)
74+
static void iproc_bcma_pcie_remove(struct bcma_device *bdev)
7575
{
7676
struct iproc_pcie *pcie = bcma_get_drvdata(bdev);
7777

7878
iproc_pcie_remove(pcie);
7979
}
8080

81-
static const struct bcma_device_id iproc_pcie_bcma_table[] = {
81+
static const struct bcma_device_id iproc_bcma_pcie_table[] = {
8282
BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_NS_PCIEG2, BCMA_ANY_REV, BCMA_ANY_CLASS),
8383
{},
8484
};
85-
MODULE_DEVICE_TABLE(bcma, iproc_pcie_bcma_table);
85+
MODULE_DEVICE_TABLE(bcma, iproc_bcma_pcie_table);
8686

87-
static struct bcma_driver iproc_pcie_bcma_driver = {
87+
static struct bcma_driver iproc_bcma_pcie_driver = {
8888
.name = KBUILD_MODNAME,
89-
.id_table = iproc_pcie_bcma_table,
90-
.probe = iproc_pcie_bcma_probe,
91-
.remove = iproc_pcie_bcma_remove,
89+
.id_table = iproc_bcma_pcie_table,
90+
.probe = iproc_bcma_pcie_probe,
91+
.remove = iproc_bcma_pcie_remove,
9292
};
93-
module_bcma_driver(iproc_pcie_bcma_driver);
93+
module_bcma_driver(iproc_bcma_pcie_driver);
9494

9595
MODULE_AUTHOR("Hauke Mehrtens");
9696
MODULE_DESCRIPTION("Broadcom iProc PCIe BCMA driver");

0 commit comments

Comments
 (0)