diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-26 15:17:20 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-27 12:56:13 +0100 |
commit | e7361ec4996c170c63c4ac379085896db85ff34d (patch) | |
tree | 800a098271e33a38031d7d761f35328b853e1693 /include/sound | |
parent | ASoC: Use card rather than soc-audio device to card PM functions (diff) | |
download | linux-e7361ec4996c170c63c4ac379085896db85ff34d.tar.xz linux-e7361ec4996c170c63c4ac379085896db85ff34d.zip |
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/sound')
-rw-r--r-- | include/sound/soc.h | 4 |
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 { bool instantiated; - int (*probe)(struct platform_device *pdev); - int (*remove)(struct platform_device *pdev); + int (*probe)(struct snd_soc_card *card); + int (*remove)(struct snd_soc_card *card); /* the pre and post PM functions are used to do any PM work before and * after the codec and DAI's do any PM work. */ |