diff options
author | Toshi Kani <toshi.kani@hp.com> | 2013-03-04 16:30:42 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-24 18:49:38 -0400 |
commit | c0af41757f406651cdd32de3e915753746c2948a (patch) | |
tree | 858ef62a6236395d0e77e8ce1a66556c8ba6b950 /drivers/acpi/internal.h | |
parent | d4e1a692e9e85f9cbee090ea8d6158b133d32157 (diff) |
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, | |||
71 | void acpi_init_device_object(struct acpi_device *device, acpi_handle handle, | 71 | void acpi_init_device_object(struct acpi_device *device, acpi_handle handle, |
72 | int type, unsigned long long sta); | 72 | int type, unsigned long long sta); |
73 | void acpi_device_add_finalize(struct acpi_device *device); | 73 | void acpi_device_add_finalize(struct acpi_device *device); |
74 | void acpi_free_ids(struct acpi_device *device); | 74 | void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); |
75 | 75 | ||
76 | /* -------------------------------------------------------------------------- | 76 | /* -------------------------------------------------------------------------- |
77 | Power Resource | 77 | Power Resource |