aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/dino.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc/dino.c')
-rw-r--r--drivers/parisc/dino.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index 8e4e86b78428..9eae9834bcc7 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -580,15 +580,13 @@ dino_fixup_bus(struct pci_bus *bus)
580 580
581 } 581 }
582 582
583 DBG("DEBUG %s assigning %d [0x%lx,0x%lx]\n", 583 DBG("DEBUG %s assigning %d [%pR]\n",
584 dev_name(&bus->self->dev), i, 584 dev_name(&bus->self->dev), i,
585 bus->self->resource[i].start, 585 &bus->self->resource[i]);
586 bus->self->resource[i].end);
587 WARN_ON(pci_assign_resource(bus->self, i)); 586 WARN_ON(pci_assign_resource(bus->self, i));
588 DBG("DEBUG %s after assign %d [0x%lx,0x%lx]\n", 587 DBG("DEBUG %s after assign %d [%pR]\n",
589 dev_name(&bus->self->dev), i, 588 dev_name(&bus->self->dev), i,
590 bus->self->resource[i].start, 589 &bus->self->resource[i]);
591 bus->self->resource[i].end);
592 } 590 }
593 } 591 }
594 592
@@ -772,8 +770,7 @@ dino_bridge_init(struct dino_device *dino_dev, const char *name)
772 result = ccio_request_resource(dino_dev->hba.dev, &res[i]); 770 result = ccio_request_resource(dino_dev->hba.dev, &res[i]);
773 if (result < 0) { 771 if (result < 0) {
774 printk(KERN_ERR "%s: failed to claim PCI Bus address " 772 printk(KERN_ERR "%s: failed to claim PCI Bus address "
775 "space %d (0x%lx-0x%lx)!\n", name, i, 773 "space %d (%pR)!\n", name, i, &res[i]);
776 (unsigned long)res[i].start, (unsigned long)res[i].end);
777 return result; 774 return result;
778 } 775 }
779 } 776 }