From: Jiang Liu Date: Fri, 12 Apr 2013 05:44:24 +0000 (+0000) Subject: PCI/ACPI: Handle PCI slot devices when creating/destroying PCI buses X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~143^2~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c0b04e3d913c91aee6e48e567e20a3f67849618;p=pandora-kernel.git PCI/ACPI: Handle PCI slot devices when creating/destroying PCI buses Currently the pci_slot driver doesn't update PCI slot devices when PCI device hotplug event happens, which may cause memory leak and returning stale information to user. Now the pci_slot driver has been changed as built-in driver, so invoke PCI slot enumeration and destroy routines directly from the PCI core. And remove ACPI PCI sub-driver related code because it isn't needed any more. [bhelgas: removed "extern" from function declarations] Signed-off-by: Jiang Liu Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas Reviewed-by: Yinghai Lu Acked-by: Rafael J. Wysocki Cc: Toshi Kani --- Reading git-diff-tree failed