aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sgiioc4.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-16 14:33:41 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-16 14:33:41 -0400
commit01397012b3129147890bb116431d5a794dfc3990 (patch)
tree475ee9861233c23bf829d2f2542214c3441e48b9 /drivers/ide/pci/sgiioc4.c
parentb25afdf1336237fb0e4021eb35744e577e19bd14 (diff)
sgiioc4: use driver name for resource allocation
Cc: Jeremy Higdon <jeremy@sgi.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/sgiioc4.c')
-rw-r--r--drivers/ide/pci/sgiioc4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/sgiioc4.c b/drivers/ide/pci/sgiioc4.c
index af91cc525789..dd0d0f73ab16 100644
--- a/drivers/ide/pci/sgiioc4.c
+++ b/drivers/ide/pci/sgiioc4.c
@@ -608,11 +608,11 @@ sgiioc4_ide_setup_pci_device(struct pci_dev *dev)
608 608
609 cmd_phys_base = bar0 + IOC4_CMD_OFFSET; 609 cmd_phys_base = bar0 + IOC4_CMD_OFFSET;
610 if (!request_mem_region(cmd_phys_base, IOC4_CMD_CTL_BLK_SIZE, 610 if (!request_mem_region(cmd_phys_base, IOC4_CMD_CTL_BLK_SIZE,
611 hwif->name)) { 611 DRV_NAME)) {
612 printk(KERN_ERR 612 printk(KERN_ERR
613 "%s : %s -- ERROR, Addresses " 613 "%s : %s -- ERROR, Addresses "
614 "0x%p to 0x%p ALREADY in use\n", 614 "0x%p to 0x%p ALREADY in use\n",
615 __func__, hwif->name, (void *) cmd_phys_base, 615 __func__, DRV_NAME, (void *) cmd_phys_base,
616 (void *) cmd_phys_base + IOC4_CMD_CTL_BLK_SIZE); 616 (void *) cmd_phys_base + IOC4_CMD_CTL_BLK_SIZE);
617 return -ENOMEM; 617 return -ENOMEM;
618 } 618 }