aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/dma.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-02-17 08:02:37 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-17 10:00:30 -0500
commit3d9dd6bdbd6765a86736ead09009daf29382a6f2 (patch)
treed3d0629f3541923d0a183d17cbfbc094f8ee376c /arch/arm/plat-s3c24xx/dma.c
parentc6184e271db4948d4f6e07f271abeb8697a80eba (diff)
[ARM] 4217/1: S3C24XX: remove the dma channel show at startup
Remove the DMA code's channel printing at startup as this is firstly a waste of console output on initialsaion, and secondly is going to be obsolete once the S3C2443 DMA code has been merged 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/plat-s3c24xx/dma.c')
-rw-r--r--arch/arm/plat-s3c24xx/dma.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/plat-s3c24xx/dma.c
index 44e39438b9d8..929265aab7dd 100644
--- a/arch/arm/plat-s3c24xx/dma.c
+++ b/arch/arm/plat-s3c24xx/dma.c
@@ -1426,22 +1426,8 @@ struct s3c2410_dma_chan *s3c2410_dma_map_channel(int channel)
1426 return dmach; 1426 return dmach;
1427} 1427}
1428 1428
1429static void s3c24xx_dma_show_ch(struct s3c24xx_dma_map *map, int ch)
1430{
1431 /* show the channel configuration */
1432
1433 printk("%2d: %20s, channels %c%c%c%c\n", ch, map->name,
1434 (is_channel_valid(map->channels[0]) ? '0' : '-'),
1435 (is_channel_valid(map->channels[1]) ? '1' : '-'),
1436 (is_channel_valid(map->channels[2]) ? '2' : '-'),
1437 (is_channel_valid(map->channels[3]) ? '3' : '-'));
1438}
1439
1440static int s3c24xx_dma_check_entry(struct s3c24xx_dma_map *map, int ch) 1429static int s3c24xx_dma_check_entry(struct s3c24xx_dma_map *map, int ch)
1441{ 1430{
1442 if (1)
1443 s3c24xx_dma_show_ch(map, ch);
1444
1445 return 0; 1431 return 0;
1446} 1432}
1447 1433