diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-03-19 11:02:39 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-01 06:39:07 -0400 |
commit | 97c1b145231730e62dd71921ec653315a1da3aad (patch) | |
tree | 8bfc9e4d781f5ad1e17aae3e058372e53c24574a /arch/arm/mach-s3c2410 | |
parent | 20934cdbaae9c26a31d7f593c6a747c687ae79a1 (diff) |
[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')
-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 1648311c7b47..c3a2629e0ded 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 { | |||
55 | 55 | ||
56 | /* we have 4 dma channels */ | 56 | /* we have 4 dma channels */ |
57 | #ifndef CONFIG_CPU_S3C2443 | 57 | #ifndef CONFIG_CPU_S3C2443 |
58 | #define S3C2410_DMA_CHANNELS (4) | 58 | #define S3C_DMA_CHANNELS (4) |
59 | #else | 59 | #else |
60 | #define S3C2410_DMA_CHANNELS (6) | 60 | #define S3C_DMA_CHANNELS (6) |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | /* types */ | 63 | /* types */ |
@@ -192,10 +192,6 @@ struct s3c2410_dma_chan { | |||
192 | struct sys_device dev; | 192 | struct sys_device dev; |
193 | }; | 193 | }; |
194 | 194 | ||
195 | /* the currently allocated channel information */ | ||
196 | extern struct s3c2410_dma_chan s3c2410_chans[]; | ||
197 | |||
198 | /* note, we don't really use dma_device_t at the moment */ | ||
199 | typedef unsigned long dma_device_t; | 195 | typedef unsigned long dma_device_t; |
200 | 196 | ||
201 | #endif /* __ASM_ARCH_DMA_H */ | 197 | #endif /* __ASM_ARCH_DMA_H */ |