From: Alexander Chiang Date: Wed, 10 Jun 2009 19:55:20 +0000 (+0000) Subject: ACPI: Introduce acpi_get_pci_dev() X-Git-Tag: v2.6.31-rc1~12^2~9^3~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9;p=pandora-kernel.git ACPI: Introduce acpi_get_pci_dev() Convert an ACPI CA handle to a struct pci_dev. Performing this lookup dynamically allows us to get rid of the ACPI-PCI binding code, which: - eliminates struct acpi_device vs struct pci_dev lifetime issues - lays more groundwork for eliminating .start from acpi_device_ops and thus simplifying ACPI drivers - whacks out a lot of code This change lays the groundwork for eliminating much of pci_bind.c. Although pci_root.c may not be the most logical place for this change, putting it here saves us from having to export acpi_pci_find_root. Signed-off-by: Alex Chiang Acked-by: Bjorn Helgaas Signed-off-by: Len Brown --- Reading git-diff-tree failed