diff options
author | Jae-hyeon Park <hpark@tuhep.phys.tohoku.ac.jp> | 2006-06-27 04:34:03 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-27 06:00:40 +0200 |
commit | 64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881 (patch) | |
tree | 7ef0c5e0574bc94fe4d25bb5994b31938205e7cf /drivers/acpi | |
parent | ACPI: acpi_os_wait_semaphore(): silence complaint (diff) | |
download | linux-64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881.tar.xz linux-64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881.zip |
ACPI: Device [kobj-name] is not power manageable
print kobj name in this message.
lenb changed to use printk.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 917bf2397b22..f4a36d372cac 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -196,7 +196,8 @@ int acpi_bus_set_power(acpi_handle handle, int state) /* Make sure this is a valid target state */ if (!device->flags.power_manageable) { - ACPI_INFO((AE_INFO, "Device is not power manageable")); + printk(KERN_DEBUG "Device `[%s]is not power manageable", + device->kobj.name); return_VALUE(-ENODEV); } /* |