Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44700
b: refs/heads/master
c: 0f7d667
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Helt authored and Russell King committed Dec 18, 2006
1 parent f6ba1b5 commit 7cb4794
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c041ffb36407897bbc3b7bf87d1fa856ce085cdf
refs/heads/master: 0f7d667ba341337b77b31ce81be04b16b3964cf6
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-s3c2410/s3c2410-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ static int s3c2410_dma_add(struct sys_device *sysdev)
return s3c24xx_dma_init_map(&s3c2410_dma_sel);
}

#if defined(CONFIG_CPU_S3C2410)
static struct sysdev_driver s3c2410_dma_driver = {
.add = s3c2410_dma_add,
};
Expand All @@ -142,9 +143,10 @@ static int __init s3c2410_dma_init(void)
}

arch_initcall(s3c2410_dma_init);
#endif

#if defined(CONFIG_CPU_S3C2442)
/* S3C2442 DMA contains the same selection table as the S3C2410 */

static struct sysdev_driver s3c2442_dma_driver = {
.add = s3c2410_dma_add,
};
Expand All @@ -155,5 +157,5 @@ static int __init s3c2442_dma_init(void)
}

arch_initcall(s3c2442_dma_init);

#endif

6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-s3c2410/s3c2410-pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ static int s3c2410_pm_add(struct sys_device *dev)
return 0;
}

#if defined(CONFIG_CPU_S3C2410)
static struct sysdev_driver s3c2410_pm_driver = {
.add = s3c2410_pm_add,
.resume = s3c2410_pm_resume,
Expand All @@ -124,7 +125,9 @@ static int __init s3c2410_pm_drvinit(void)
}

arch_initcall(s3c2410_pm_drvinit);
#endif

#if defined(CONFIG_CPU_S3C2440)
static struct sysdev_driver s3c2440_pm_driver = {
.add = s3c2410_pm_add,
.resume = s3c2410_pm_resume,
Expand All @@ -136,7 +139,9 @@ static int __init s3c2440_pm_drvinit(void)
}

arch_initcall(s3c2440_pm_drvinit);
#endif

#if defined(CONFIG_CPU_S3C2442)
static struct sysdev_driver s3c2442_pm_driver = {
.add = s3c2410_pm_add,
.resume = s3c2410_pm_resume,
Expand All @@ -148,3 +153,4 @@ static int __init s3c2442_pm_drvinit(void)
}

arch_initcall(s3c2442_pm_drvinit);
#endif

0 comments on commit 7cb4794

Please sign in to comment.