ACPI: PCI: add a helper to convert _PRT INTx pin number to name
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 9 Dec 2008 04:30:36 +0000 (21:30 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 02:22:07 +0000 (21:22 -0500)
commitcf68b80b0e0cbc6a0d7bbb36b07ce94779ef5f1f
treeba8e2e507a701a2785481006b3f40e49be8f1ace
parentf748bafa3ca1fb056e63afdeecacc1c68d8104df
ACPI: PCI: add a helper to convert _PRT INTx pin number to name

This adds a helper function to convert INTx pin numbers from the _PRT
(0, 1, 2, 3) to the pin name ('A', 'B', 'C', 'D').

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_irq.c