diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-03-19 15:02:39 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-01 11:39:07 +0100 |
commit | 97c1b145231730e62dd71921ec653315a1da3aad (patch) | |
tree | 8bfc9e4d781f5ad1e17aae3e058372e53c24574a /arch/arm/mach-s3c2410/include/mach | |
parent | 20934cdbaae9c26a31d7f593c6a747c687ae79a1 (diff) | |
download | kernel-crypto-97c1b145231730e62dd71921ec653315a1da3aad.tar.gz kernel-crypto-97c1b145231730e62dd71921ec653315a1da3aad.tar.xz kernel-crypto-97c1b145231730e62dd71921ec653315a1da3aad.zip |
[ARM] S3C: Move DMA channel management code to plat-s3c
Change the name of S3C2410_DMA_CHANNELS to S3C_DMA_CHANNELS in the process.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2410/include/mach')
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/dma.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/dma.h b/arch/arm/mach-s3c2410/include/mach/dma.h index 1648311c7b4..c3a2629e0de 100644 --- a/arch/arm/mach-s3c2410/include/mach/dma.h +++ b/arch/arm/mach-s3c2410/include/mach/dma.h @@ -55,9 +55,9 @@ enum dma_ch { /* we have 4 dma channels */ #ifndef CONFIG_CPU_S3C2443 -#define S3C2410_DMA_CHANNELS (4) +#define S3C_DMA_CHANNELS (4) #else -#define S3C2410_DMA_CHANNELS (6) +#define S3C_DMA_CHANNELS (6) #endif /* types */ @@ -192,10 +192,6 @@ struct s3c2410_dma_chan { struct sys_device dev; }; -/* the currently allocated channel information */ -extern struct s3c2410_dma_chan s3c2410_chans[]; - -/* note, we don't really use dma_device_t at the moment */ typedef unsigned long dma_device_t; #endif /* __ASM_ARCH_DMA_H */ |