Skip to content

Commit 58064e1

Browse files
geertuGreg Ungerer
authored andcommitted
m68knommu: Fix typos in Coldfire 5272 DMA debug code
If DEBUG_DMA is defined: include/asm/dma.h: In function ‘set_dma_mode’: include/asm/dma.h:393: error: ‘dmabp’ undeclared (first use in this function) include/asm/dma.h:393: error: (Each undeclared identifier is reported only once include/asm/dma.h:393: error: for each function it appears in.) include/asm/dma.h: In function ‘set_dma_addr’: include/asm/dma.h:424: error: ‘dmawp’ undeclared (first use in this function) Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
1 parent eec85fa commit 58064e1

File tree

1 file changed

+2
-2
lines changed
  • arch/m68k/include/asm

1 file changed

+2
-2
lines changed

arch/m68k/include/asm/dma.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static __inline__ void set_dma_mode(unsigned int dmanr, char mode)
390390

391391
#ifdef DEBUG_DMA
392392
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],
394394
(int) &dmawp[MCFDMA_DIR], dmawp[MCFDMA_DIR]);
395395
#endif
396396
}
@@ -421,7 +421,7 @@ static __inline__ void set_dma_addr(unsigned int dmanr, unsigned int a)
421421

422422
#ifdef DEBUG_DMA
423423
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],
425425
(int) &dmalp[MCFDMA_DSAR], dmalp[MCFDMA_DSAR],
426426
(int) &dmalp[MCFDMA_DDAR], dmalp[MCFDMA_DDAR]);
427427
#endif

0 commit comments

Comments
 (0)