aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-26 23:04:31 -0400
committerLen Brown <len.brown@intel.com>2006-06-27 00:00:54 -0400
commitcece92969762b8ed7930d4e23008b76b06411dee (patch)
treeab3d84b71971f0405ab2b1b36d9fdd39b0bda55e /drivers/acpi/power.c
parent64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881 (diff)
ACPI: un-export ACPI_WARNING() -- use printk(KERN_WARNING...)
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index 5712803ddc78..43688c8280e5 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -105,7 +105,7 @@ acpi_power_get_context(acpi_handle handle,
105 105
106 result = acpi_bus_get_device(handle, &device); 106 result = acpi_bus_get_device(handle, &device);
107 if (result) { 107 if (result) {
108 ACPI_WARNING((AE_INFO, "Getting context [%p]", handle)); 108 printk(KERN_WARNING PREFIX "Getting context [%p]\n", handle);
109 return_VALUE(result); 109 return_VALUE(result);
110 } 110 }
111 111
@@ -441,8 +441,8 @@ int acpi_power_transition(struct acpi_device *device, int state)
441 device->power.state = state; 441 device->power.state = state;
442 end: 442 end:
443 if (result) 443 if (result)
444 ACPI_WARNING((AE_INFO, "Transitioning device [%s] to D%d", 444 printk(KERN_WARNING PREFIX "Transitioning device [%s] to D%d\n",
445 device->pnp.bus_id, state)); 445 device->pnp.bus_id, state);
446 446
447 return_VALUE(result); 447 return_VALUE(result);
448} 448}