From: Yinghai Lu Date: Mon, 21 Jan 2013 21:20:50 +0000 (-0800) Subject: PCI: acpiphp: Keep driver loaded even if no slots found X-Git-Tag: v3.9-rc1~82^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d59f53bc9bd80ee62072dea590fc623c67cb84a8;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Rafael J. Wysocki --- Reading git-diff-tree failed