aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
authorJae-hyeon Park <hpark@tuhep.phys.tohoku.ac.jp>2006-06-26 22:34:03 -0400
committerLen Brown <len.brown@intel.com>2006-06-27 00:00:40 -0400
commit64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881 (patch)
tree7ef0c5e0574bc94fe4d25bb5994b31938205e7cf /drivers/acpi/bus.c
parent9e7e2c047503db5a094ab30c7b4b8a5a0a324915 (diff)
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/bus.c')
-rw-r--r--drivers/acpi/bus.c3
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)
196 /* Make sure this is a valid target state */ 196 /* Make sure this is a valid target state */
197 197
198 if (!device->flags.power_manageable) { 198 if (!device->flags.power_manageable) {
199 ACPI_INFO((AE_INFO, "Device is not power manageable")); 199 printk(KERN_DEBUG "Device `[%s]is not power manageable",
200 device->kobj.name);
200 return_VALUE(-ENODEV); 201 return_VALUE(-ENODEV);
201 } 202 }
202 /* 203 /*