Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c011b1f authored by Scott Wood's avatar Scott Wood Committed by Kumar Gala
Browse files

[POWERPC] cpm: Fix a couple minor issues in cpm_common.c.



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

Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 0197cd2e
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -77,8 +77,6 @@ int __init cpm_muram_init(void)
	int i = 0;
	int i = 0;
	int ret = 0;
	int ret = 0;


	printk("cpm_muram_init\n");

	spin_lock_init(&cpm_muram_lock);
	spin_lock_init(&cpm_muram_lock);
	/* initialize the info header */
	/* initialize the info header */
	rh_init(&cpm_muram_info, 1,
	rh_init(&cpm_muram_info, 1,
@@ -193,7 +191,7 @@ void __iomem *cpm_muram_addr(unsigned long offset)
EXPORT_SYMBOL(cpm_muram_addr);
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
 * @offset: virtual address from cpm_muram_addr() to convert
 */
 */
dma_addr_t cpm_muram_dma(void __iomem *addr)
dma_addr_t cpm_muram_dma(void __iomem *addr)