diff options
author | Toshi Kani <toshi.kani@hp.com> | 2013-03-04 21:30:42 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-24 23:49:38 +0100 |
commit | c0af41757f406651cdd32de3e915753746c2948a (patch) | |
tree | 858ef62a6236395d0e77e8ce1a66556c8ba6b950 /drivers/acpi/internal.h | |
parent | d4e1a692e9e85f9cbee090ea8d6158b133d32157 (diff) | |
download | blackbird-op-linux-c0af41757f406651cdd32de3e915753746c2948a.tar.gz blackbird-op-linux-c0af41757f406651cdd32de3e915753746c2948a.zip |
ACPI: Update PNPID set/free interfaces
This patch introduces acpi_set_pnp_ids() and acpi_free_pnp_ids(),
which are updated from acpi_device_set_id() and acpi_free_ids(),
to setup and free acpi_device_pnp for a given acpi_handle. They
can be called without acpi_device.
Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 7215821ccb25..7f094adfe05a 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h @@ -71,7 +71,7 @@ int acpi_device_add(struct acpi_device *device, void acpi_init_device_object(struct acpi_device *device, acpi_handle handle, int type, unsigned long long sta); void acpi_device_add_finalize(struct acpi_device *device); -void acpi_free_ids(struct acpi_device *device); +void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); /* -------------------------------------------------------------------------- Power Resource |