aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/dev-audio.c
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2010-11-22 01:35:53 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-23 09:04:44 -0500
commit83e37b8e400ca51cc97946815b3055daacd92fa8 (patch)
tree5c8fac6e05dc7e5f5a7ff420bf5a0a9e42f613d7 /arch/arm/mach-s3c64xx/dev-audio.c
parent58bb4072132c54d832082cc6eac396a6db009cbd (diff)
ARM: Samsung: Define common audio-dma device
The ASoC uses common DMA driver for Audio devices. So it makes sense to a common audio-dma device shared across all platforms. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/dev-audio.c')
-rw-r--r--arch/arm/mach-s3c64xx/dev-audio.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-s3c64xx/dev-audio.c b/arch/arm/mach-s3c64xx/dev-audio.c
index bbaf7b3fa8ae..4a4b8a505ff9 100644
--- a/arch/arm/mach-s3c64xx/dev-audio.c
+++ b/arch/arm/mach-s3c64xx/dev-audio.c
@@ -315,16 +315,3 @@ void __init s3c64xx_ac97_setup_gpio(int num)
315 else 315 else
316 s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe; 316 s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe;
317} 317}
318
319static u64 s3c_device_audio_dmamask = 0xffffffffUL;
320
321struct platform_device s3c_device_pcm = {
322 .name = "samsung-audio",
323 .id = -1,
324 .dev = {
325 .dma_mask = &s3c_device_audio_dmamask,
326 .coherent_dma_mask = 0xffffffffUL
327 }
328};
329EXPORT_SYMBOL(s3c_device_pcm);
330