diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-12-08 23:30:31 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-30 21:20:23 -0500 |
commit | f748bafa3ca1fb056e63afdeecacc1c68d8104df (patch) | |
tree | d1c49d7895eb0c7cb8226e72119b3043950f11e6 /drivers | |
parent | c13f889a24e6ced50abb582dab3ee4b7c79b038e (diff) |
ACPI: PCI: move struct acpi_prt_entry declaration out of public header file
The struct acpi_prt_entry is used only in pci_irq.c, so there's no
need for the declaration to be public. This patch moves it into
pci_irq.c.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/pci_irq.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c index 9302f4bb89e2..ea003bab7ecd 100644 --- a/drivers/acpi/pci_irq.c +++ b/drivers/acpi/pci_irq.c | |||
@@ -41,6 +41,22 @@ | |||
41 | #define _COMPONENT ACPI_PCI_COMPONENT | 41 | #define _COMPONENT ACPI_PCI_COMPONENT |
42 | ACPI_MODULE_NAME("pci_irq"); | 42 | ACPI_MODULE_NAME("pci_irq"); |
43 | 43 | ||
44 | struct acpi_prt_entry { | ||
45 | struct list_head node; | ||
46 | struct acpi_pci_id id; | ||
47 | u8 pin; | ||
48 | struct { | ||
49 | acpi_handle handle; | ||
50 | u32 index; | ||
51 | } link; | ||
52 | u32 irq; | ||
53 | }; | ||
54 | |||
55 | struct acpi_prt_list { | ||
56 | int count; | ||
57 | struct list_head entries; | ||
58 | }; | ||
59 | |||
44 | static struct acpi_prt_list acpi_prt; | 60 | static struct acpi_prt_list acpi_prt; |
45 | static DEFINE_SPINLOCK(acpi_prt_lock); | 61 | static DEFINE_SPINLOCK(acpi_prt_lock); |
46 | 62 | ||