Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu

Pull m68knommu updates from Greg Ungerer:
"Only two changes.

One cleans up warnings in the ColdFire DMA code, the other stubs out
(with warnings) ColdFire clock api functions not normally used"

* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
m68knommu: Fix typos in Coldfire 5272 DMA debug code
m68k: coldfire: Normalize clk API

+31 -2
+29
arch/m68k/coldfire/clk.c
··· 129 129 } 130 130 EXPORT_SYMBOL(clk_get_rate); 131 131 132 + /* dummy functions, should not be called */ 133 + long clk_round_rate(struct clk *clk, unsigned long rate) 134 + { 135 + WARN_ON(clk); 136 + return 0; 137 + } 138 + EXPORT_SYMBOL(clk_round_rate); 139 + 140 + int clk_set_rate(struct clk *clk, unsigned long rate) 141 + { 142 + WARN_ON(clk); 143 + return 0; 144 + } 145 + EXPORT_SYMBOL(clk_set_rate); 146 + 147 + int clk_set_parent(struct clk *clk, struct clk *parent) 148 + { 149 + WARN_ON(clk); 150 + return 0; 151 + } 152 + EXPORT_SYMBOL(clk_set_parent); 153 + 154 + struct clk *clk_get_parent(struct clk *clk) 155 + { 156 + WARN_ON(clk); 157 + return NULL; 158 + } 159 + EXPORT_SYMBOL(clk_get_parent); 160 + 132 161 /***************************************************************************/
+2 -2
arch/m68k/include/asm/dma.h
··· 390 390 391 391 #ifdef DEBUG_DMA 392 392 printk("%s(%d): dmanr=%d DMR[%x]=%x DIR[%x]=%x\n", __FILE__, __LINE__, 393 - dmanr, (int) &dmalp[MCFDMA_DMR], dmabp[MCFDMA_DMR], 393 + dmanr, (int) &dmalp[MCFDMA_DMR], dmalp[MCFDMA_DMR], 394 394 (int) &dmawp[MCFDMA_DIR], dmawp[MCFDMA_DIR]); 395 395 #endif 396 396 } ··· 421 421 422 422 #ifdef DEBUG_DMA 423 423 printk("%s(%d): dmanr=%d DMR[%x]=%x SAR[%x]=%08x DAR[%x]=%08x\n", 424 - __FILE__, __LINE__, dmanr, (int) &dmawp[MCFDMA_DMR], dmawp[MCFDMA_DMR], 424 + __FILE__, __LINE__, dmanr, (int) &dmalp[MCFDMA_DMR], dmalp[MCFDMA_DMR], 425 425 (int) &dmalp[MCFDMA_DSAR], dmalp[MCFDMA_DSAR], 426 426 (int) &dmalp[MCFDMA_DDAR], dmalp[MCFDMA_DDAR]); 427 427 #endif