Skip to content

Commit

Permalink
[POWERPC] cpm: Fix a couple minor issues in cpm_common.c.
Browse files Browse the repository at this point in the history
A debugging printk is removed, and a comment is fixed to match
the code.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Scott Wood authored and Kumar Gala committed Nov 9, 2007
1 parent 0197cd2 commit 4c011b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/powerpc/sysdev/cpm_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4c011b1

Please sign in to comment.