Skip to contentSkip to conversation

cpm: Fix a couple minor issues in cpm_common.c.

PATCH In review Scott Wood 2 participants 2 messages Oct 12, 2007 – Oct 13, 2007 PowerPC

lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH 1/1 cpm: Fix a couple minor issues in cpm_common.c.

A debugging printk is removed, and a comment is fixed to match the code.

---
 arch/powerpc/sysdev/cpm_common.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
arch/powerpc/sysdev/cpm_common.c +1 -3
index 66c8ad4..165981c 100644
@@ -77,8 +77,6 @@ int __init cpm_muram_init(void)
 	int i = 0;
 	int ret = 0;
 
-	printk("cpm_muram_init\n");
-
 	spin_lock_init(&cpm_muram_lock);
 	/* initialize the info header */
 	rh_init(&cpm_muram_info, 1,
@@ -193,7 +191,7 @@ void __iomem *cpm_muram_addr(unsigned long offset)
 EXPORT_SYMBOL(cpm_muram_addr);
 
 /**
- * cpm_muram_phys - turn a muram virtual address into a DMA address
+ * cpm_muram_dma - turn a muram virtual address into a DMA address
  * @offset: virtual address from cpm_muram_addr() to convert
  */
 dma_addr_t cpm_muram_dma(void __iomem *addr)
Signature · 1 line
1.5.3.4