summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/s3c2410-dma.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-09-15 23:46:20 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-25 10:25:19 +0100
commit3fc3a25ba47735296984ddbb2e6ba504017ec3e1 (patch)
tree1d863539f440805e761a24b7cb5578a1f0178325 /arch/arm/mach-s3c2410/s3c2410-dma.c
parent98c418a002ce5f3110eeb31d1ce8261f5199997d (diff)
[ARM] 3799/1: S3C2442: DMA channel mappings
DMA channel mappings for the S3C2442 Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/s3c2410-dma.c')
-rw-r--r--arch/arm/mach-s3c2410/s3c2410-dma.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/s3c2410-dma.c b/arch/arm/mach-s3c2410/s3c2410-dma.c
index 91bc169fc25..51e5098b32e 100644
--- a/arch/arm/mach-s3c2410/s3c2410-dma.c
+++ b/arch/arm/mach-s3c2410/s3c2410-dma.c
@@ -141,3 +141,18 @@ static int __init s3c2410_dma_init(void)
}
arch_initcall(s3c2410_dma_init);
+
+/* S3C2442 DMA contains the same selection table as the S3C2410 */
+
+static struct sysdev_driver s3c2442_dma_driver = {
+ .add = s3c2410_dma_add,
+};
+
+static int __init s3c2442_dma_init(void)
+{
+ return sysdev_driver_register(&s3c2442_sysclass, &s3c2442_dma_driver);
+}
+
+arch_initcall(s3c2442_dma_init);
+
+