diff options
author | Len Brown <len.brown@intel.com> | 2006-06-26 23:41:38 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-27 00:01:06 -0400 |
commit | 6468463abd7051fcc29f3ee7c931f9bbbb26f5a4 (patch) | |
tree | d18eae04fe6c8f7d257077cc6056cd9c6f424e0d /drivers/acpi/pci_bind.c | |
parent | cece92969762b8ed7930d4e23008b76b06411dee (diff) |
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.c | 12 |
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) | |||
75 | 75 | ||
76 | result = acpi_bus_get_device(handle, &device); | 76 | result = acpi_bus_get_device(handle, &device); |
77 | if (result) { | 77 | if (result) { |
78 | ACPI_ERROR((AE_INFO, | 78 | printk(KERN_ERR PREFIX |
79 | "Invalid ACPI Bus context for device %s", | 79 | "Invalid ACPI Bus context for device %s\n", |
80 | acpi_device_bid(device))); | 80 | acpi_device_bid(device)); |
81 | return_ACPI_STATUS(AE_NOT_EXIST); | 81 | return_ACPI_STATUS(AE_NOT_EXIST); |
82 | } | 82 | } |
83 | 83 | ||
@@ -206,10 +206,10 @@ int acpi_pci_bind(struct acpi_device *device) | |||
206 | goto end; | 206 | goto end; |
207 | } | 207 | } |
208 | if (!data->dev->bus) { | 208 | if (!data->dev->bus) { |
209 | ACPI_ERROR((AE_INFO, | 209 | printk(KERN_ERR PREFIX |
210 | "Device %02x:%02x:%02x.%02x has invalid 'bus' field", | 210 | "Device %02x:%02x:%02x.%02x has invalid 'bus' field\n", |
211 | data->id.segment, data->id.bus, | 211 | data->id.segment, data->id.bus, |
212 | data->id.device, data->id.function)); | 212 | data->id.device, data->id.function); |
213 | result = -ENODEV; | 213 | result = -ENODEV; |
214 | goto end; | 214 | goto end; |
215 | } | 215 | } |