From 12f4cdb5b7b8fa5a1099614d6085ae08896b0ea1 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 17 Aug 2004 12:56:18 +0000 Subject: use DRM error reporting --- shared-core/radeon_cp.c | 4 ++-- shared/radeon_cp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c index f12e526e..f634a345 100644 --- a/shared-core/radeon_cp.c +++ b/shared-core/radeon_cp.c @@ -1735,12 +1735,12 @@ static int radeon_register_regions(struct pci_dev *pdev) { /* request the mem regions */ if (!request_mem_region (pci_resource_start( pdev, 2 ), pci_resource_len(pdev, 2), DRIVER_NAME)) { - printk(KERN_ERR DRIVER_NAME ": cannot reserve MMIO region\n"); + DRM_ERROR("cannot reserve MMIO region\n"); return retcode; } if (!request_mem_region (pci_resource_start( pdev, 0 ), pci_resource_len(pdev, 0), DRIVER_NAME)) { - printk(KERN_ERR DRIVER_NAME ": cannot reserve FB region\n"); + DRM_ERROR("cannot reserve FB region\n"); return retcode; } return 0; diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c index f12e526e..f634a345 100644 --- a/shared/radeon_cp.c +++ b/shared/radeon_cp.c @@ -1735,12 +1735,12 @@ static int radeon_register_regions(struct pci_dev *pdev) { /* request the mem regions */ if (!request_mem_region (pci_resource_start( pdev, 2 ), pci_resource_len(pdev, 2), DRIVER_NAME)) { - printk(KERN_ERR DRIVER_NAME ": cannot reserve MMIO region\n"); + DRM_ERROR("cannot reserve MMIO region\n"); return retcode; } if (!request_mem_region (pci_resource_start( pdev, 0 ), pci_resource_len(pdev, 0), DRIVER_NAME)) { - printk(KERN_ERR DRIVER_NAME ": cannot reserve FB region\n"); + DRM_ERROR("cannot reserve FB region\n"); return retcode; } return 0; -- cgit v1.2.3