aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-26 23:41:38 -0400
committerLen Brown <len.brown@intel.com>2006-06-27 00:01:06 -0400
commit6468463abd7051fcc29f3ee7c931f9bbbb26f5a4 (patch)
treed18eae04fe6c8f7d257077cc6056cd9c6f424e0d /drivers/acpi/ec.c
parentcece92969762b8ed7930d4e23008b76b06411dee (diff)
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)
1107 acpi_evaluate_integer(ec->common.handle, "_GPE", NULL, 1107 acpi_evaluate_integer(ec->common.handle, "_GPE", NULL,
1108 &ec->common.gpe_bit); 1108 &ec->common.gpe_bit);
1109 if (ACPI_FAILURE(status)) { 1109 if (ACPI_FAILURE(status)) {
1110 ACPI_ERROR((AE_INFO, "Obtaining GPE bit assignment")); 1110 printk(KERN_ERR PREFIX "Obtaining GPE bit assignment\n");
1111 result = -ENODEV; 1111 result = -ENODEV;
1112 goto end; 1112 goto end;
1113 } 1113 }
@@ -1201,7 +1201,7 @@ static int acpi_ec_start(struct acpi_device *device)
1201 acpi_ec_io_ports, ec); 1201 acpi_ec_io_ports, ec);
1202 if (ACPI_FAILURE(status) 1202 if (ACPI_FAILURE(status)
1203 || ec->common.command_addr.register_bit_width == 0) { 1203 || ec->common.command_addr.register_bit_width == 0) {
1204 ACPI_ERROR((AE_INFO, "Error getting I/O port addresses")); 1204 printk(KERN_ERR PREFIX "Error getting I/O port addresses\n");
1205 return_VALUE(-ENODEV); 1205 return_VALUE(-ENODEV);
1206 } 1206 }
1207 1207