diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-11-10 17:31:10 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 14:12:32 -0500 |
commit | 23616941914917cf25b94789856b5326b68d8ee8 (patch) | |
tree | dd32448bbb06a53711d34b5e7f71dac8a07527d2 /drivers/pci/pci-acpi.c | |
parent | 07ae95f988a34465bdcb384bfa73c03424fe2312 (diff) |
ACPI/PCI: remove obsolete _OSC capability support functions
The acpi_query_osc, __pci_osc_support_set, pci_osc_support_set, and
pcie_osc_support_set functions have been obsoleted in favor of setting
these capabilities during root bridge discovery with
pci_acpi_osc_support. There are no longer any callers of these
functions, so remove them.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r-- | drivers/pci/pci-acpi.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 8a1f02c3c915..8f923ee5177f 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -175,31 +175,6 @@ out: | |||
175 | return rc; | 175 | return rc; |
176 | } | 176 | } |
177 | 177 | ||
178 | static acpi_status acpi_query_osc(acpi_handle handle, u32 level, | ||
179 | void *context, void **retval) | ||
180 | { | ||
181 | pci_acpi_osc_support(handle, (unsigned long)context); | ||
182 | return AE_OK; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * __pci_osc_support_set - register OS support to Firmware | ||
187 | * @flags: OS support bits | ||
188 | * @hid: hardware ID | ||
189 | * | ||
190 | * Update OS support fields and doing a _OSC Query to obtain an update | ||
191 | * from Firmware on supported control bits. | ||
192 | **/ | ||
193 | acpi_status __pci_osc_support_set(u32 flags, const char *hid) | ||
194 | { | ||
195 | if (!(flags & OSC_SUPPORT_MASKS)) | ||
196 | return AE_TYPE; | ||
197 | |||
198 | acpi_get_devices(hid, acpi_query_osc, | ||
199 | (void *)(unsigned long)flags, NULL); | ||
200 | return AE_OK; | ||
201 | } | ||
202 | |||
203 | /** | 178 | /** |
204 | * pci_osc_control_set - commit requested control to Firmware | 179 | * pci_osc_control_set - commit requested control to Firmware |
205 | * @handle: acpi_handle for the target ACPI object | 180 | * @handle: acpi_handle for the target ACPI object |