patch-2.4.25 linux-2.4.25/arch/mips/au1000/common/dma.c
Next file: linux-2.4.25/arch/mips/au1000/common/irq.c
Previous file: linux-2.4.25/arch/mips/au1000/common/Makefile
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/mips/au1000/common/dma.c
- Orig date:
2002-11-28 15:53:09.000000000 -0800
diff -urN linux-2.4.24/arch/mips/au1000/common/dma.c linux-2.4.25/arch/mips/au1000/common/dma.c
@@ -40,7 +40,7 @@
#include <asm/au1000_dma.h>
#include <asm/system.h>
-
+#if defined(CONFIG_SOC_AU1000) || defined(CONFIG_SOC_AU1500) || defined(CONFIG_SOC_AU1100)
/*
* A note on resource allocation:
@@ -95,7 +95,6 @@
{I2S_DATA, DMA_DR | DMA_DW32 | DMA_NC}
};
-
int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
int length, int *eof, void *data)
{
@@ -198,7 +197,6 @@
return i;
}
-
void free_au1000_dma(unsigned int dmanr)
{
struct dma_chan *chan = get_dma_chan(dmanr);
@@ -215,3 +213,4 @@
chan->irq_dev = NULL;
chan->dev_id = -1;
}
+#endif // AU1000 AU1500 AU1100
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)