diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/include')
-rw-r--r-- | arch/arm/plat-s3c24xx/include/plat/dma-plat.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/dma-plat.h b/arch/arm/plat-s3c24xx/include/plat/dma-plat.h index fbe84afe2d90..9565ead1bc9b 100644 --- a/arch/arm/plat-s3c24xx/include/plat/dma-plat.h +++ b/arch/arm/plat-s3c24xx/include/plat/dma-plat.h | |||
@@ -10,8 +10,10 @@ | |||
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <plat/dma-core.h> | ||
14 | |||
13 | extern struct sysdev_class dma_sysclass; | 15 | extern struct sysdev_class dma_sysclass; |
14 | extern struct s3c2410_dma_chan s3c2410_chans[S3C2410_DMA_CHANNELS]; | 16 | extern struct s3c2410_dma_chan s3c2410_chans[S3C_DMA_CHANNELS]; |
15 | 17 | ||
16 | #define DMA_CH_VALID (1<<31) | 18 | #define DMA_CH_VALID (1<<31) |
17 | #define DMA_CH_NEVER (1<<30) | 19 | #define DMA_CH_NEVER (1<<30) |
@@ -31,8 +33,8 @@ struct s3c24xx_dma_map { | |||
31 | const char *name; | 33 | const char *name; |
32 | struct s3c24xx_dma_addr hw_addr; | 34 | struct s3c24xx_dma_addr hw_addr; |
33 | 35 | ||
34 | unsigned long channels[S3C2410_DMA_CHANNELS]; | 36 | unsigned long channels[S3C_DMA_CHANNELS]; |
35 | unsigned long channels_rx[S3C2410_DMA_CHANNELS]; | 37 | unsigned long channels_rx[S3C_DMA_CHANNELS]; |
36 | }; | 38 | }; |
37 | 39 | ||
38 | struct s3c24xx_dma_selection { | 40 | struct s3c24xx_dma_selection { |
@@ -58,7 +60,7 @@ extern int s3c24xx_dma_init_map(struct s3c24xx_dma_selection *sel); | |||
58 | */ | 60 | */ |
59 | 61 | ||
60 | struct s3c24xx_dma_order_ch { | 62 | struct s3c24xx_dma_order_ch { |
61 | unsigned int list[S3C2410_DMA_CHANNELS]; /* list of channels */ | 63 | unsigned int list[S3C_DMA_CHANNELS]; /* list of channels */ |
62 | unsigned int flags; /* flags */ | 64 | unsigned int flags; /* flags */ |
63 | }; | 65 | }; |
64 | 66 | ||