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 /include | |
| 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 'include')
| -rw-r--r-- | include/linux/pci-acpi.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/pci-acpi.h b/include/linux/pci-acpi.h index 424f06f84cab..871e096e0fbc 100644 --- a/include/linux/pci-acpi.h +++ b/include/linux/pci-acpi.h | |||
| @@ -50,16 +50,7 @@ | |||
| 50 | 50 | ||
| 51 | #ifdef CONFIG_ACPI | 51 | #ifdef CONFIG_ACPI |
| 52 | extern acpi_status pci_osc_control_set(acpi_handle handle, u32 flags); | 52 | extern acpi_status pci_osc_control_set(acpi_handle handle, u32 flags); |
| 53 | extern acpi_status __pci_osc_support_set(u32 flags, const char *hid); | ||
| 54 | int pci_acpi_osc_support(acpi_handle handle, u32 flags); | 53 | int pci_acpi_osc_support(acpi_handle handle, u32 flags); |
| 55 | static inline acpi_status pci_osc_support_set(u32 flags) | ||
| 56 | { | ||
| 57 | return __pci_osc_support_set(flags, PCI_ROOT_HID_STRING); | ||
| 58 | } | ||
| 59 | static inline acpi_status pcie_osc_support_set(u32 flags) | ||
| 60 | { | ||
| 61 | return __pci_osc_support_set(flags, PCI_EXPRESS_ROOT_HID_STRING); | ||
| 62 | } | ||
| 63 | static inline acpi_handle acpi_find_root_bridge_handle(struct pci_dev *pdev) | 54 | static inline acpi_handle acpi_find_root_bridge_handle(struct pci_dev *pdev) |
| 64 | { | 55 | { |
| 65 | /* Find root host bridge */ | 56 | /* Find root host bridge */ |
| @@ -76,8 +67,6 @@ typedef u32 acpi_status; | |||
| 76 | #endif | 67 | #endif |
| 77 | static inline acpi_status pci_osc_control_set(acpi_handle handle, u32 flags) | 68 | static inline acpi_status pci_osc_control_set(acpi_handle handle, u32 flags) |
| 78 | {return AE_ERROR;} | 69 | {return AE_ERROR;} |
| 79 | static inline acpi_status pci_osc_support_set(u32 flags) {return AE_ERROR;} | ||
| 80 | static inline acpi_status pcie_osc_support_set(u32 flags) {return AE_ERROR;} | ||
| 81 | static inline acpi_handle acpi_find_root_bridge_handle(struct pci_dev *pdev) | 70 | static inline acpi_handle acpi_find_root_bridge_handle(struct pci_dev *pdev) |
| 82 | { return NULL; } | 71 | { return NULL; } |
| 83 | #endif | 72 | #endif |
