Commit 463594bc authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] deal with lack of acpi prt entries gracefully (Jesse Barnes)

parent 1eaa1ef7
...@@ -71,6 +71,9 @@ acpi_pci_irq_find_prt_entry ( ...@@ -71,6 +71,9 @@ acpi_pci_irq_find_prt_entry (
ACPI_FUNCTION_TRACE("acpi_pci_irq_find_prt_entry"); ACPI_FUNCTION_TRACE("acpi_pci_irq_find_prt_entry");
if (!acpi_prt.count)
return_PTR(NULL);
/* /*
* Parse through all PRT entries looking for a match on the specified * Parse through all PRT entries looking for a match on the specified
* PCI device's segment, bus, device, and pin (don't care about func). * PCI device's segment, bus, device, and pin (don't care about func).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment