summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/common.h
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2013-10-21 05:32:48 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-10-21 05:32:48 +0900
commit1fecf8958eb7f90791f2c7e99afac393b64fa976 (patch)
tree9971cafc2f2b710e6e56f1b684ec54bf43a4523b /arch/arm/mach-s3c24xx/common.h
parent681a2fd26065f6147c1382b4f684df71fd5783aa (diff)
ARM: S3C24XX: add dma pdata for s3c2410, s3c2440 and s3c2442
s3c2410 and s3c2442 share the same dma channels while s3c2440 has slight differences. But on all three the reachable sources per dma channel has constraints attached and thus encodes the usable combinations using the S3C24XX_DMA_CHANREQ macro. This also fixes the warning about s3c2410_dma_resource being unused as reported by Olof Johansson. Reported-by: Olof Johansson <olof@lixom.net> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/common.h')
-rw-r--r--arch/arm/mach-s3c24xx/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/common.h b/arch/arm/mach-s3c24xx/common.h
index fe071893275f..e46c10417216 100644
--- a/arch/arm/mach-s3c24xx/common.h
+++ b/arch/arm/mach-s3c24xx/common.h
@@ -109,7 +109,9 @@ extern void s3c2443_init_irq(void);
extern struct syscore_ops s3c24xx_irq_syscore_ops;
+extern struct platform_device s3c2410_device_dma;
extern struct platform_device s3c2412_device_dma;
+extern struct platform_device s3c2440_device_dma;
extern struct platform_device s3c2443_device_dma;
#endif /* __ARCH_ARM_MACH_S3C24XX_COMMON_H */