summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/ac97.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-19 22:59:05 +0100
committerMark Brown <broonie@linaro.org>2013-08-20 10:36:33 +0100
commit85ff3c29d720fddddf35681bf8f244dfd91f66fa (patch)
tree198a56b1dce3272e933b9b7fd91cb32afa9bc11a /sound/soc/samsung/ac97.c
parent37e6071787908fa9009cbd002c86402720becc5f (diff)
downloadlinux-stable-85ff3c29d720fddddf35681bf8f244dfd91f66fa.tar.gz
linux-stable-85ff3c29d720fddddf35681bf8f244dfd91f66fa.tar.bz2
linux-stable-85ff3c29d720fddddf35681bf8f244dfd91f66fa.zip
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.c4
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)
if (ret)
goto err5;
- ret = asoc_dma_platform_register(&pdev->dev);
+ ret = samsung_asoc_dma_platform_register(&pdev->dev);
if (ret) {
dev_err(&pdev->dev, "failed to get register DMA: %d\n", ret);
goto err6;
@@ -480,7 +480,7 @@ static int s3c_ac97_remove(struct platform_device *pdev)
{
struct resource *irq_res;
- asoc_dma_platform_unregister(&pdev->dev);
+ samsung_asoc_dma_platform_unregister(&pdev->dev);
snd_soc_unregister_component(&pdev->dev);
irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);