aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs/mxs-saif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/mxs/mxs-saif.c')
-rw-r--r--sound/soc/mxs/mxs-saif.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index c294fbb523fc..365d9d27a321 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -229,6 +229,7 @@ int mxs_saif_put_mclk(unsigned int saif_id)
229 saif->mclk_in_use = 0; 229 saif->mclk_in_use = 0;
230 return 0; 230 return 0;
231} 231}
232EXPORT_SYMBOL_GPL(mxs_saif_put_mclk);
232 233
233/* 234/*
234 * Get MCLK and set clock rate, then enable it 235 * Get MCLK and set clock rate, then enable it
@@ -282,6 +283,7 @@ int mxs_saif_get_mclk(unsigned int saif_id, unsigned int mclk,
282 283
283 return 0; 284 return 0;
284} 285}
286EXPORT_SYMBOL_GPL(mxs_saif_get_mclk);
285 287
286/* 288/*
287 * SAIF DAI format configuration. 289 * SAIF DAI format configuration.
@@ -655,7 +657,7 @@ static irqreturn_t mxs_saif_irq(int irq, void *dev_id)
655 return IRQ_HANDLED; 657 return IRQ_HANDLED;
656} 658}
657 659
658static int __devinit mxs_saif_probe(struct platform_device *pdev) 660static int mxs_saif_probe(struct platform_device *pdev)
659{ 661{
660 struct device_node *np = pdev->dev.of_node; 662 struct device_node *np = pdev->dev.of_node;
661 struct resource *iores, *dmares; 663 struct resource *iores, *dmares;
@@ -790,7 +792,7 @@ failed_pdev_alloc:
790 return ret; 792 return ret;
791} 793}
792 794
793static int __devexit mxs_saif_remove(struct platform_device *pdev) 795static int mxs_saif_remove(struct platform_device *pdev)
794{ 796{
795 mxs_pcm_platform_unregister(&pdev->dev); 797 mxs_pcm_platform_unregister(&pdev->dev);
796 snd_soc_unregister_dai(&pdev->dev); 798 snd_soc_unregister_dai(&pdev->dev);
@@ -806,7 +808,7 @@ MODULE_DEVICE_TABLE(of, mxs_saif_dt_ids);
806 808
807static struct platform_driver mxs_saif_driver = { 809static struct platform_driver mxs_saif_driver = {
808 .probe = mxs_saif_probe, 810 .probe = mxs_saif_probe,
809 .remove = __devexit_p(mxs_saif_remove), 811 .remove = mxs_saif_remove,
810 812
811 .driver = { 813 .driver = {
812 .name = "mxs-saif", 814 .name = "mxs-saif",