diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-19 17:59:05 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-20 05:36:33 -0400 |
commit | 85ff3c29d720fddddf35681bf8f244dfd91f66fa (patch) | |
tree | 198a56b1dce3272e933b9b7fd91cb32afa9bc11a /sound/soc/samsung/ac97.c | |
parent | 37e6071787908fa9009cbd002c86402720becc5f (diff) |
ASoC: samsung: Rename DMA platform registration functions
The current naming with a simple asoc_ prefix is too generic for use in
multiplatform kernels.
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Diffstat (limited to 'sound/soc/samsung/ac97.c')
-rw-r--r-- | sound/soc/samsung/ac97.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c index c732df9a35b6..2acf987844e8 100644 --- a/sound/soc/samsung/ac97.c +++ b/sound/soc/samsung/ac97.c | |||
@@ -457,7 +457,7 @@ static int s3c_ac97_probe(struct platform_device *pdev) | |||
457 | if (ret) | 457 | if (ret) |
458 | goto err5; | 458 | goto err5; |
459 | 459 | ||
460 | ret = asoc_dma_platform_register(&pdev->dev); | 460 | ret = samsung_asoc_dma_platform_register(&pdev->dev); |
461 | if (ret) { | 461 | if (ret) { |
462 | dev_err(&pdev->dev, "failed to get register DMA: %d\n", ret); | 462 | dev_err(&pdev->dev, "failed to get register DMA: %d\n", ret); |
463 | goto err6; | 463 | goto err6; |
@@ -480,7 +480,7 @@ static int s3c_ac97_remove(struct platform_device *pdev) | |||
480 | { | 480 | { |
481 | struct resource *irq_res; | 481 | struct resource *irq_res; |
482 | 482 | ||
483 | asoc_dma_platform_unregister(&pdev->dev); | 483 | samsung_asoc_dma_platform_unregister(&pdev->dev); |
484 | snd_soc_unregister_component(&pdev->dev); | 484 | snd_soc_unregister_component(&pdev->dev); |
485 | 485 | ||
486 | irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); | 486 | irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); |