aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_root.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/pci_root.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/pci_root.c')
-rw-r--r--drivers/acpi/pci_root.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index 0f661dd42d41..1930397e3c52 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -231,9 +231,9 @@ static int acpi_pci_root_add(struct acpi_device *device)
231 int bus = 0; 231 int bus = 0;
232 acpi_status status; 232 acpi_status status;
233 233
234 ACPI_ERROR((AE_INFO, 234 printk(KERN_ERR PREFIX
235 "Wrong _BBN value, reboot" 235 "Wrong _BBN value, reboot"
236 " and use option 'pci=noacpi'")); 236 " and use option 'pci=noacpi'\n");
237 237
238 status = try_get_root_bridge_busnr(root->handle, &bus); 238 status = try_get_root_bridge_busnr(root->handle, &bus);
239 if (ACPI_FAILURE(status)) 239 if (ACPI_FAILURE(status))
@@ -274,9 +274,9 @@ static int acpi_pci_root_add(struct acpi_device *device)
274 */ 274 */
275 root->bus = pci_acpi_scan_root(device, root->id.segment, root->id.bus); 275 root->bus = pci_acpi_scan_root(device, root->id.segment, root->id.bus);
276 if (!root->bus) { 276 if (!root->bus) {
277 ACPI_ERROR((AE_INFO, 277 printk(KERN_ERR PREFIX
278 "Bus %04x:%02x not present in PCI namespace", 278 "Bus %04x:%02x not present in PCI namespace\n",
279 root->id.segment, root->id.bus)); 279 root->id.segment, root->id.bus);
280 result = -ENODEV; 280 result = -ENODEV;
281 goto end; 281 goto end;
282 } 282 }