From: MUNEDA Takahiro Date: Wed, 22 Mar 2006 05:49:27 +0000 (+0900) Subject: [PATCH] acpiphp: host and p2p hotplug X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c14424736e76f3d8477a41de531e6b5dcce3d5b0;p=openwrt%2Fstaging%2Fblogic.git [PATCH] acpiphp: host and p2p hotplug I encountered the problem that when there are some hotplug slots are under the host bridge, the hotplug slots under the p2p bridge are not treated as hotpluggable. This patch fixes this BUG. Signed-off-by: MUNEDA Takahiro Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 631efce3a6ce..bbe27c16bc3d 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c @@ -546,7 +546,6 @@ static int add_bridge(acpi_handle handle) if (detect_ejectable_slots(handle) > 0) { dbg("found PCI host-bus bridge with hot-pluggable slots\n"); add_host_bridge(handle, pci_bus); - return 0; } /* search P2P bridges under this host bridge */