summaryrefslogtreecommitdiff
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-27 07:41:38 +0400
committerLen Brown <len.brown@intel.com>2006-06-27 08:01:06 +0400
commit6468463abd7051fcc29f3ee7c931f9bbbb26f5a4 (patch)
treed18eae04fe6c8f7d257077cc6056cd9c6f424e0d /drivers/acpi/ec.c
parentcece92969762b8ed7930d4e23008b76b06411dee (diff)
downloadlinux-6468463abd7051fcc29f3ee7c931f9bbbb26f5a4.tar.xz
ACPI: un-export ACPI_ERROR() -- use printk(KERN_ERR...)
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r--drivers/acpi/ec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 94cc8ab94006..0bba8783de55 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -1107,7 +1107,7 @@ static int acpi_ec_intr_add(struct acpi_device *device)
acpi_evaluate_integer(ec->common.handle, "_GPE", NULL,
&ec->common.gpe_bit);
if (ACPI_FAILURE(status)) {
- ACPI_ERROR((AE_INFO, "Obtaining GPE bit assignment"));
+ printk(KERN_ERR PREFIX "Obtaining GPE bit assignment\n");
result = -ENODEV;
goto end;
}
@@ -1201,7 +1201,7 @@ static int acpi_ec_start(struct acpi_device *device)
acpi_ec_io_ports, ec);
if (ACPI_FAILURE(status)
|| ec->common.command_addr.register_bit_width == 0) {
- ACPI_ERROR((AE_INFO, "Error getting I/O port addresses"));
+ printk(KERN_ERR PREFIX "Error getting I/O port addresses\n");
return_VALUE(-ENODEV);
}