diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-26 14:17:20 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-27 11:56:13 +0000 |
commit | e7361ec4996c170c63c4ac379085896db85ff34d (patch) | |
tree | 800a098271e33a38031d7d761f35328b853e1693 /include | |
parent | 70b2ac126a60c87145ae8a8eb1b4dccaa0bf5468 (diff) | |
download | blackbird-op-linux-e7361ec4996c170c63c4ac379085896db85ff34d.tar.gz blackbird-op-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')
-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. */ |