drivers/dma: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2008-08-13 01:40:39 +02:00
parent 1a02806c4b
commit 88f57e0931
4 changed files with 1 additions and 12 deletions

View file

@ -28,8 +28,6 @@
* Do not edit!
*/
#ifdef CONFIG_FSLDMAFEC
#include <MCD_dma.h>
extern dmaRegs *MCD_dmaBar;
@ -242,5 +240,3 @@ void MCD_startDmaENetXmit(char *bDBase, char *currBD, char *xmitFifoPtr,
/* Set the task's Enable bit in its Task Control Register */
MCD_dmaBar->taskControl[channel] |= (u16) 0x8000;
}
#endif /* CONFIG_FSLDMAFEC */