diff options
-rw-r--r-- | drivers/acpi/pci_irq.c | 16 | ||||
-rw-r--r-- | include/linux/acpi.h | 16 |
2 files changed, 16 insertions, 16 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 | ||
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index fba8051fb297..813f937b3ab4 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -131,22 +131,6 @@ extern int acpi_get_override_irq(int bus_irq, int *trigger, int *polarity); | |||
131 | */ | 131 | */ |
132 | void acpi_unregister_gsi (u32 gsi); | 132 | void acpi_unregister_gsi (u32 gsi); |
133 | 133 | ||
134 | struct acpi_prt_entry { | ||
135 | struct list_head node; | ||
136 | struct acpi_pci_id id; | ||
137 | u8 pin; | ||
138 | struct { | ||
139 | acpi_handle handle; | ||
140 | u32 index; | ||
141 | } link; | ||
142 | u32 irq; | ||
143 | }; | ||
144 | |||
145 | struct acpi_prt_list { | ||
146 | int count; | ||
147 | struct list_head entries; | ||
148 | }; | ||
149 | |||
150 | struct pci_dev; | 134 | struct pci_dev; |
151 | 135 | ||
152 | int acpi_pci_irq_enable (struct pci_dev *dev); | 136 | int acpi_pci_irq_enable (struct pci_dev *dev); |