summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acpredef.h
diff options
context:
space:
mode:
authorAlexander Chiang <achiang@hp.com>2009-06-10 19:55:20 +0000
committerLen Brown <len.brown@intel.com>2009-06-17 23:22:15 -0400
commit2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9 (patch)
treef34fa26ac7a916f221dc88a5cb32eaf5db7c0e05 /drivers/acpi/acpica/acpredef.h
parent275582031f9b3597a1b973f3ff617adfe639faa2 (diff)
downloadblackbird-obmc-linux-2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9.tar.gz
blackbird-obmc-linux-2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9.zip
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 <achiang@hp.com> Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acpredef.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud