ppc: ppc4xx_dma DMA_MODE_{READ,WRITE} fix
PATCH 1/1 ppc: ppc4xx_dma DMA_MODE_{READ,WRITE} fix
DMA_MODE_{READ,WRITE} are declared in asm-powerpc/dma.h and their declarations there match the definitions. Old declarations in ppc4xx_dma.h are not right anymore (wrong type, to start with). Killed them, added include of asm/dma.h where needed.
Signed-off-by Al Viro <[email protected]>
---
arch/ppc/syslib/ppc4xx_dma.c | 1 + include/asm-ppc/ppc4xx_dma.h | 3 --- 2 files changed, 1 insertions(+), 3 deletions(-)
fc830a6f62230c04590f711798ea8de44e567439
arch/ppc/syslib/ppc4xx_dma.c +1 -0
@@ -30,6 +30,7 @@#include <asm/system.h> #include <asm/io.h> +#include <asm/dma.h> #include <asm/ppc4xx_dma.h> ppc_dma_ch_t dma_channels[MAX_PPC4xx_DMA_CHANNELS];
include/asm-ppc/ppc4xx_dma.h +0 -3
@@ -33,9 +33,6 @@#define MAX_PPC4xx_DMA_CHANNELS 4 -/* in arch/ppc/kernel/setup.c -- Cort */ -extern unsigned long DMA_MODE_WRITE ,DMA_MODE_READ ; -/* * Function return status codes * These values are used to indicate whether or not the function
Signature · 1 line
0.99.9.GIT