aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/resource.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2010-09-29 14:24:23 -0400
committerLen Brown <len.brown@intel.com>2010-10-01 01:59:34 -0400
commitc1f3f2819667a238585c65bba96c8b16af39a442 (patch)
tree18cdfe75cc3a77bed489f11bcf7407957c8bd2df /drivers/pnp/resource.c
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00 (diff)
PNP: log PNP resources, as we do for PCI
ACPI devices are often involved in address space conflicts with PCI devices, so I think it's worth logging the resources they use. Otherwise we have to depend on lspnp or groping around in sysfs to find them. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/resource.c')
-rw-r--r--drivers/pnp/resource.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c
index e3446ab8b563..a925e6b63d72 100644
--- a/drivers/pnp/resource.c
+++ b/drivers/pnp/resource.c
@@ -523,7 +523,7 @@ struct pnp_resource *pnp_add_irq_resource(struct pnp_dev *dev, int irq,
523 res->start = irq; 523 res->start = irq;
524 res->end = irq; 524 res->end = irq;
525 525
526 pnp_dbg(&dev->dev, " add %pr\n", res); 526 dev_printk(KERN_DEBUG, &dev->dev, "%pR\n", res);
527 return pnp_res; 527 return pnp_res;
528} 528}
529 529
@@ -544,7 +544,7 @@ struct pnp_resource *pnp_add_dma_resource(struct pnp_dev *dev, int dma,
544 res->start = dma; 544 res->start = dma;
545 res->end = dma; 545 res->end = dma;
546 546
547 pnp_dbg(&dev->dev, " add %pr\n", res); 547 dev_printk(KERN_DEBUG, &dev->dev, "%pR\n", res);
548 return pnp_res; 548 return pnp_res;
549} 549}
550 550
@@ -568,7 +568,7 @@ struct pnp_resource *pnp_add_io_resource(struct pnp_dev *dev,
568 res->start = start; 568 res->start = start;
569 res->end = end; 569 res->end = end;
570 570
571 pnp_dbg(&dev->dev, " add %pr\n", res); 571 dev_printk(KERN_DEBUG, &dev->dev, "%pR\n", res);
572 return pnp_res; 572 return pnp_res;
573} 573}
574 574
@@ -592,7 +592,7 @@ struct pnp_resource *pnp_add_mem_resource(struct pnp_dev *dev,
592 res->start = start; 592 res->start = start;
593 res->end = end; 593 res->end = end;
594 594
595 pnp_dbg(&dev->dev, " add %pr\n", res); 595 dev_printk(KERN_DEBUG, &dev->dev, "%pR\n", res);
596 return pnp_res; 596 return pnp_res;
597} 597}
598 598
@@ -616,7 +616,7 @@ struct pnp_resource *pnp_add_bus_resource(struct pnp_dev *dev,
616 res->start = start; 616 res->start = start;
617 res->end = end; 617 res->end = end;
618 618
619 pnp_dbg(&dev->dev, " add %pr\n", res); 619 dev_printk(KERN_DEBUG, &dev->dev, "%pR\n", res);
620 return pnp_res; 620 return pnp_res;
621} 621}
622 622