diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 628ea20a8841..42eea5fbc13b 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c | |||
@@ -56,7 +56,7 @@ void pci_bus_remove_resources(struct pci_bus *bus) | |||
56 | int i; | 56 | int i; |
57 | 57 | ||
58 | for (i = 0; i < PCI_BRIDGE_RESOURCE_NUM; i++) | 58 | for (i = 0; i < PCI_BRIDGE_RESOURCE_NUM; i++) |
59 | bus->resource[i] = 0; | 59 | bus->resource[i] = NULL; |
60 | 60 | ||
61 | list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { | 61 | list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { |
62 | list_del(&bus_res->list); | 62 | list_del(&bus_res->list); |