]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-s3c64xx/dev-audio.c
ASoC: multi-component - ASoC Multi-Component Support
[mv-sheeva.git] / arch / arm / mach-s3c64xx / dev-audio.c
index c3e9e73bd0f91ef4d5e74cf3072d29de8dbbb8a7..55ae1b0afae9fa2d238ad089cc7d40bf50808f6b 100644 (file)
@@ -333,3 +333,16 @@ void __init s3c64xx_ac97_setup_gpio(int num)
        else
                s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe;
 }
+
+static u64 s3c_device_audio_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_pcm = {
+       .name             = "s3c24xx-pcm-audio",
+       .id               = -1,
+       .dev              = {
+               .dma_mask = &s3c_device_audio_dmamask,
+               .coherent_dma_mask = 0xffffffffUL
+       }
+};
+EXPORT_SYMBOL(s3c_device_pcm);
+