Skip to content

Commit 42d9972

Browse files
committed
PCI: of_property: Rename struct of_pci_range to of_pci_range_entry
Previously there were two definitions of struct of_pci_range: one in include/linux/of_address.h and another local to drivers/pci/of_property.c. Rename the local struct of_pci_range to of_pci_range_entry to avoid confusion. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Lizhi Hou <[email protected]>
1 parent d117b19 commit 42d9972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/of_property.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct of_pci_addr_pair {
2626
* side and the child address is the corresponding address on the secondary
2727
* side.
2828
*/
29-
struct of_pci_range {
29+
struct of_pci_range_entry {
3030
u32 child_addr[OF_PCI_ADDRESS_CELLS];
3131
u32 parent_addr[OF_PCI_ADDRESS_CELLS];
3232
u32 size[OF_PCI_SIZE_CELLS];
@@ -101,7 +101,7 @@ static int of_pci_prop_bus_range(struct pci_dev *pdev,
101101
static int of_pci_prop_ranges(struct pci_dev *pdev, struct of_changeset *ocs,
102102
struct device_node *np)
103103
{
104-
struct of_pci_range *rp;
104+
struct of_pci_range_entry *rp;
105105
struct resource *res;
106106
int i, j, ret;
107107
u32 flags, num;

0 commit comments

Comments
 (0)