diff options
| author | Jan Kiszka <[email protected]> | 2018-05-15 11:07:02 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2018-05-30 11:34:49 -0500 |
| commit | 126b7de6bfd84b2daadca2c3396108cd847adb5d (patch) | |
| tree | 552b676de47321934f476f7df889b9fb1d3d0721 /include | |
| parent | 3bbce531788719749520f28052cabdef16af6b16 (diff) | |
PCI: Rename of_pci_get_host_bridge_resources() device node parameter
We will add a "struct device *dev" parameter to this function soon, so
rename the existing "struct device_node *dev" parameter to "dev_node".
Tested-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/of_pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/of_pci.h b/include/linux/of_pci.h index 091033a6b836..74eec1943ad2 100644 --- a/include/linux/of_pci.h +++ b/include/linux/of_pci.h @@ -71,11 +71,11 @@ of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) #endif #if defined(CONFIG_OF_ADDRESS) -int of_pci_get_host_bridge_resources(struct device_node *dev, +int of_pci_get_host_bridge_resources(struct device_node *dev_node, unsigned char busno, unsigned char bus_max, struct list_head *resources, resource_size_t *io_base); #else -static inline int of_pci_get_host_bridge_resources(struct device_node *dev, +static inline int of_pci_get_host_bridge_resources(struct device_node *dev_node, unsigned char busno, unsigned char bus_max, struct list_head *resources, resource_size_t *io_base) { |