]> Pileus Git - ~andy/linux/commit
PCI: acpiphp: Keep driver loaded even if no slots found
authorYinghai Lu <yinghai@kernel.org>
Mon, 21 Jan 2013 21:20:50 +0000 (13:20 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 25 Jan 2013 21:53:48 +0000 (14:53 -0700)
commitd59f53bc9bd80ee62072dea590fc623c67cb84a8
treea3a0cc477ebee058882365048690fba057dea014
parent121b090e7d4063b65f40c267ef0fb34fb278dfdf
PCI: acpiphp: Keep driver loaded even if no slots found

Could have root bus hot-added later and there may be slots that need
acpiphp.

The result returned by acpiphp_get_num_slots() is meaningless, because
the bridge the slots are under may be added after this function has been
called, so drop acpiphp_get_num_slots() and the code using it.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/acpiphp.h
drivers/pci/hotplug/acpiphp_core.c
drivers/pci/hotplug/acpiphp_glue.c