aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2012-06-25 04:13:07 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-06-29 11:38:15 -0400
commita606dac368eed5696fb38e16b1394f1d049c09e9 (patch)
treec65ac7fe74e7aadbdf36e5078f34bfb47a9f3333 /drivers/acpi/power.c
parent3bd46600a7a7e938c54df8cdbac9910668c7dfb0 (diff)
libata-acpi: register/unregister device to/from power resource
Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index dd6d6a3c6780..eb6408741a8f 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -390,6 +390,7 @@ void acpi_power_resource_unregister_device(struct device *dev, acpi_handle handl
390 __acpi_power_resource_unregister_device(dev, 390 __acpi_power_resource_unregister_device(dev,
391 list->handles[i]); 391 list->handles[i]);
392} 392}
393EXPORT_SYMBOL_GPL(acpi_power_resource_unregister_device);
393 394
394static int __acpi_power_resource_register_device( 395static int __acpi_power_resource_register_device(
395 struct acpi_power_managed_device *powered_device, acpi_handle handle) 396 struct acpi_power_managed_device *powered_device, acpi_handle handle)
@@ -460,6 +461,7 @@ no_power_resource:
460 printk(KERN_WARNING PREFIX "Invalid Power Resource to register!"); 461 printk(KERN_WARNING PREFIX "Invalid Power Resource to register!");
461 return -ENODEV; 462 return -ENODEV;
462} 463}
464EXPORT_SYMBOL_GPL(acpi_power_resource_register_device);
463 465
464/** 466/**
465 * acpi_device_sleep_wake - execute _DSW (Device Sleep Wake) or (deprecated in 467 * acpi_device_sleep_wake - execute _DSW (Device Sleep Wake) or (deprecated in