summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_bind.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-27 05:41:38 +0200
committerLen Brown <len.brown@intel.com>2006-06-27 06:01:06 +0200
commit6468463abd7051fcc29f3ee7c931f9bbbb26f5a4 (patch)
treed18eae04fe6c8f7d257077cc6056cd9c6f424e0d /drivers/acpi/pci_bind.c
parentACPI: un-export ACPI_WARNING() -- use printk(KERN_WARNING...) (diff)
downloadlinux-6468463abd7051fcc29f3ee7c931f9bbbb26f5a4.tar.xz
linux-6468463abd7051fcc29f3ee7c931f9bbbb26f5a4.zip
ACPI: un-export ACPI_ERROR() -- use printk(KERN_ERR...)
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_bind.c')
-rw-r--r--drivers/acpi/pci_bind.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/pci_bind.c b/drivers/acpi/pci_bind.c
index 6d3e818e327a..3e7d0191c75c 100644
--- a/drivers/acpi/pci_bind.c
+++ b/drivers/acpi/pci_bind.c
@@ -75,9 +75,9 @@ acpi_status acpi_get_pci_id(acpi_handle handle, struct acpi_pci_id *id)
result = acpi_bus_get_device(handle, &device);
if (result) {
- ACPI_ERROR((AE_INFO,
- "Invalid ACPI Bus context for device %s",
- acpi_device_bid(device)));
+ printk(KERN_ERR PREFIX
+ "Invalid ACPI Bus context for device %s\n",
+ acpi_device_bid(device));
return_ACPI_STATUS(AE_NOT_EXIST);
}
@@ -206,10 +206,10 @@ int acpi_pci_bind(struct acpi_device *device)
goto end;
}
if (!data->dev->bus) {
- ACPI_ERROR((AE_INFO,
- "Device %02x:%02x:%02x.%02x has invalid 'bus' field",
+ printk(KERN_ERR PREFIX
+ "Device %02x:%02x:%02x.%02x has invalid 'bus' field\n",
data->id.segment, data->id.bus,
- data->id.device, data->id.function));
+ data->id.device, data->id.function);
result = -ENODEV;
goto end;
}