aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-26 09:17:20 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-27 06:56:13 -0500
commite7361ec4996c170c63c4ac379085896db85ff34d (patch)
tree800a098271e33a38031d7d761f35328b853e1693 /include
parent70b2ac126a60c87145ae8a8eb1b4dccaa0bf5468 (diff)
ASoC: Replace pdev with card in machine driver probe and remove
In order to support cards instantiated without using soc-audio remove the use of the platform device in the card probe() and remove() ops. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 4a489ae44a6e..2d10090a08c0 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -649,8 +649,8 @@ struct snd_soc_card {
649 649
650 bool instantiated; 650 bool instantiated;
651 651
652 int (*probe)(struct platform_device *pdev); 652 int (*probe)(struct snd_soc_card *card);
653 int (*remove)(struct platform_device *pdev); 653 int (*remove)(struct snd_soc_card *card);
654 654
655 /* the pre and post PM functions are used to do any PM work before and 655 /* the pre and post PM functions are used to do any PM work before and
656 * after the codec and DAI's do any PM work. */ 656 * after the codec and DAI's do any PM work. */