@@ -5627,7 +5627,7 @@ int pci_try_reset_function(struct pci_dev *dev)
5627
5627
EXPORT_SYMBOL_GPL (pci_try_reset_function );
5628
5628
5629
5629
/* Do any devices on or below this bus prevent a bus reset? */
5630
- static bool pci_bus_resetable (struct pci_bus * bus )
5630
+ static bool pci_bus_resettable (struct pci_bus * bus )
5631
5631
{
5632
5632
struct pci_dev * dev ;
5633
5633
@@ -5637,7 +5637,7 @@ static bool pci_bus_resetable(struct pci_bus *bus)
5637
5637
5638
5638
list_for_each_entry (dev , & bus -> devices , bus_list ) {
5639
5639
if (dev -> dev_flags & PCI_DEV_FLAGS_NO_BUS_RESET ||
5640
- (dev -> subordinate && !pci_bus_resetable (dev -> subordinate )))
5640
+ (dev -> subordinate && !pci_bus_resettable (dev -> subordinate )))
5641
5641
return false;
5642
5642
}
5643
5643
@@ -5695,7 +5695,7 @@ static int pci_bus_trylock(struct pci_bus *bus)
5695
5695
}
5696
5696
5697
5697
/* Do any devices on or below this slot prevent a bus reset? */
5698
- static bool pci_slot_resetable (struct pci_slot * slot )
5698
+ static bool pci_slot_resettable (struct pci_slot * slot )
5699
5699
{
5700
5700
struct pci_dev * dev ;
5701
5701
@@ -5707,7 +5707,7 @@ static bool pci_slot_resetable(struct pci_slot *slot)
5707
5707
if (!dev -> slot || dev -> slot != slot )
5708
5708
continue ;
5709
5709
if (dev -> dev_flags & PCI_DEV_FLAGS_NO_BUS_RESET ||
5710
- (dev -> subordinate && !pci_bus_resetable (dev -> subordinate )))
5710
+ (dev -> subordinate && !pci_bus_resettable (dev -> subordinate )))
5711
5711
return false;
5712
5712
}
5713
5713
@@ -5843,7 +5843,7 @@ static int pci_slot_reset(struct pci_slot *slot, bool probe)
5843
5843
{
5844
5844
int rc ;
5845
5845
5846
- if (!slot || !pci_slot_resetable (slot ))
5846
+ if (!slot || !pci_slot_resettable (slot ))
5847
5847
return - ENOTTY ;
5848
5848
5849
5849
if (!probe )
@@ -5910,7 +5910,7 @@ static int pci_bus_reset(struct pci_bus *bus, bool probe)
5910
5910
{
5911
5911
int ret ;
5912
5912
5913
- if (!bus -> self || !pci_bus_resetable (bus ))
5913
+ if (!bus -> self || !pci_bus_resettable (bus ))
5914
5914
return - ENOTTY ;
5915
5915
5916
5916
if (probe )
0 commit comments