diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-09-14 18:35:15 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-14 20:38:26 -0400 |
commit | 6a29172ba90e49c046245610caff9848307bfd6a (patch) | |
tree | 41911e0b90cb6bec026f9eb2d4cc5e0f914afa75 /include/linux/pci_hotplug.h | |
parent | fca6825ad7382ae9df8ecda9068ac13ee9e343f4 (diff) |
PCI hotplug: clean up acpi_get_hp_params_from_firmware() interface
This patch makes acpi_get_hp_params_from_firmware() take a
pci_dev rather than a pci_bus and makes it return a standard
int errno rather than acpi_status.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci_hotplug.h')
-rw-r--r-- | include/linux/pci_hotplug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci_hotplug.h b/include/linux/pci_hotplug.h index f0c31ae3f842..0a7c2401d945 100644 --- a/include/linux/pci_hotplug.h +++ b/include/linux/pci_hotplug.h | |||
@@ -227,7 +227,7 @@ struct hotplug_params { | |||
227 | #ifdef CONFIG_ACPI | 227 | #ifdef CONFIG_ACPI |
228 | #include <acpi/acpi.h> | 228 | #include <acpi/acpi.h> |
229 | #include <acpi/acpi_bus.h> | 229 | #include <acpi/acpi_bus.h> |
230 | extern acpi_status acpi_get_hp_params_from_firmware(struct pci_bus *bus, | 230 | int acpi_get_hp_params_from_firmware(struct pci_dev *dev, |
231 | struct hotplug_params *hpp); | 231 | struct hotplug_params *hpp); |
232 | int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags); | 232 | int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags); |
233 | int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); | 233 | int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle); |