summaryrefslogtreecommitdiff
path: root/drivers/hotplug
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2002-11-02 07:43:53 -0800
committerRussell King <rmk@arm.linux.org.uk>2002-11-02 07:43:53 -0800
commit0aabd43d4baaf4030768b8c12b41c192c2a496a9 (patch)
tree537d3a8be3e52f18dbba808c7eacde54c02acc1c /drivers/hotplug
parent4b58cd48403b2c7549c55e7c73a30d39a1df0323 (diff)
[PATCH] PCI Hotplug: fix compiler warning.
Diffstat (limited to 'drivers/hotplug')
-rw-r--r--drivers/hotplug/pci_hotplug_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hotplug/pci_hotplug_util.c b/drivers/hotplug/pci_hotplug_util.c
index 6a84c61f195d..83642552d4ff 100644
--- a/drivers/hotplug/pci_hotplug_util.c
+++ b/drivers/hotplug/pci_hotplug_util.c
@@ -96,7 +96,7 @@ static int pci_visit_bridge (struct pci_visit * fn, struct pci_dev_wrapped *wrap
{
struct pci_bus *bus;
struct pci_bus_wrapped wrapped_bus;
- int result;
+ int result = 0;
dbg("scanning bridge %02x, %02x\n", PCI_SLOT(wrapped_dev->dev->devfn),
PCI_FUNC(wrapped_dev->dev->devfn));