diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-07-08 01:33:02 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-07-08 01:34:05 -0400 |
commit | cb26a7b1c18857d14913040b45f3fe51b513f936 (patch) | |
tree | c524e2f600aadd1b16e934a7afd87ea9e31cbafd /arch | |
parent | 5838e9b8dada491278db48ff9162e25125fa89d6 (diff) |
ARM: S3C24XX: drop return codes in void function of dma.c
Commit bb072c3c (ARM / Samsung: Use struct syscore_ops for "core" power
management) turned s3c2410_dma_resume_chan() from int to void. So, drop
the actual return values, too. Fixes:
arch/arm/plat-s3c24xx/dma.c: In function 's3c2410_dma_resume_chan':
arch/arm/plat-s3c24xx/dma.c:1238:3: warning: 'return' with a value, in function returning void
arch/arm/plat-s3c24xx/dma.c:1250:2: warning: 'return' with a value, in function returning void
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-s3c24xx/dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/plat-s3c24xx/dma.c index a5b3684e1154..a79a8ccd25f6 100644 --- a/arch/arm/plat-s3c24xx/dma.c +++ b/arch/arm/plat-s3c24xx/dma.c | |||
@@ -1231,7 +1231,7 @@ static void s3c2410_dma_resume_chan(struct s3c2410_dma_chan *cp) | |||
1231 | /* restore channel's hardware configuration */ | 1231 | /* restore channel's hardware configuration */ |
1232 | 1232 | ||
1233 | if (!cp->in_use) | 1233 | if (!cp->in_use) |
1234 | return 0; | 1234 | return; |
1235 | 1235 | ||
1236 | printk(KERN_INFO "dma%d: restoring configuration\n", cp->number); | 1236 | printk(KERN_INFO "dma%d: restoring configuration\n", cp->number); |
1237 | 1237 | ||
@@ -1242,8 +1242,6 @@ static void s3c2410_dma_resume_chan(struct s3c2410_dma_chan *cp) | |||
1242 | 1242 | ||
1243 | if (cp->map != NULL) | 1243 | if (cp->map != NULL) |
1244 | dma_sel.select(cp, cp->map); | 1244 | dma_sel.select(cp, cp->map); |
1245 | |||
1246 | return 0; | ||
1247 | } | 1245 | } |
1248 | 1246 | ||
1249 | static void s3c2410_dma_resume(void) | 1247 | static void s3c2410_dma_resume(void) |