diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/devs.c | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c index 452e18438b41..9f8ee5e38615 100644 --- a/arch/arm/plat-s3c24xx/devs.c +++ b/arch/arm/plat-s3c24xx/devs.c | |||
@@ -481,7 +481,7 @@ static struct resource s3c_ac97_resource[] = { | |||
481 | }, | 481 | }, |
482 | }; | 482 | }; |
483 | 483 | ||
484 | static u64 s3c_device_ac97_dmamask = 0xffffffffUL; | 484 | static u64 s3c_device_audio_dmamask = 0xffffffffUL; |
485 | 485 | ||
486 | struct platform_device s3c_device_ac97 = { | 486 | struct platform_device s3c_device_ac97 = { |
487 | .name = "s3c-ac97", | 487 | .name = "s3c-ac97", |
@@ -489,11 +489,37 @@ struct platform_device s3c_device_ac97 = { | |||
489 | .num_resources = ARRAY_SIZE(s3c_ac97_resource), | 489 | .num_resources = ARRAY_SIZE(s3c_ac97_resource), |
490 | .resource = s3c_ac97_resource, | 490 | .resource = s3c_ac97_resource, |
491 | .dev = { | 491 | .dev = { |
492 | .dma_mask = &s3c_device_ac97_dmamask, | 492 | .dma_mask = &s3c_device_audio_dmamask, |
493 | .coherent_dma_mask = 0xffffffffUL | 493 | .coherent_dma_mask = 0xffffffffUL |
494 | } | 494 | } |
495 | }; | 495 | }; |
496 | 496 | ||
497 | EXPORT_SYMBOL(s3c_device_ac97); | 497 | EXPORT_SYMBOL(s3c_device_ac97); |
498 | 498 | ||
499 | /* ASoC PCM DMA */ | ||
500 | |||
501 | struct platform_device s3c_device_pcm = { | ||
502 | .name = "s3c24xx-pcm-audio", | ||
503 | .id = -1, | ||
504 | .dev = { | ||
505 | .dma_mask = &s3c_device_audio_dmamask, | ||
506 | .coherent_dma_mask = 0xffffffffUL | ||
507 | } | ||
508 | }; | ||
509 | |||
510 | EXPORT_SYMBOL(s3c_device_pcm); | ||
511 | |||
512 | /* ASoC I2S */ | ||
513 | |||
514 | struct platform_device s3c2412_device_iis = { | ||
515 | .name = "s3c2412-iis", | ||
516 | .id = -1, | ||
517 | .dev = { | ||
518 | .dma_mask = &s3c_device_audio_dmamask, | ||
519 | .coherent_dma_mask = 0xffffffffUL | ||
520 | } | ||
521 | }; | ||
522 | |||
523 | EXPORT_SYMBOL(s3c2412_device_iis); | ||
524 | |||
499 | #endif // CONFIG_CPU_S32440 | 525 | #endif // CONFIG_CPU_S32440 |