From: Taku Izumi Date: Wed, 31 Oct 2012 00:51:48 +0000 (+0900) Subject: PCI/portdrv: Don't create hotplug slots unless port supports hotplug X-Git-Tag: v3.7-rc5~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff8e59bc4ec3f31789a47dce9b6fe44bd7bc5fcc;p=pandora-kernel.git PCI/portdrv: Don't create hotplug slots unless port supports hotplug Commit 2dcfaf85 mistakenly dropped the "flags & PCI_EXP_FLAGS_SLOT" test, so now we create hotplug slots even for PCIe port devices that don't support hotplug. This patch fixes this problem. [bhelgaas: changelog] Signed-off-by: Taku Izumi Signed-off-by: Bjorn Helgaas Acked-by: Yinghai Lu Reviewed-by: Jiang Liu --- Reading git-diff-tree failed