ASoC: smdk_wm8994: Add .pm to struct smdk_audio_driver
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 16 Oct 2013 10:28:48 +0000 (15:58 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 16 Oct 2013 11:59:12 +0000 (12:59 +0100)
Register PM ops for this driver.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/smdk_wm8994.c

index 831972d24fb9b2019f34d147ebfdab505a63254d..b072bd107b3150f8ca7e013e5190bfc285d78c4e 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "../codecs/wm8994.h"
 #include <sound/pcm_params.h>
+#include <sound/soc.h>
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
@@ -206,6 +207,7 @@ static struct platform_driver smdk_audio_driver = {
                .name   = "smdk-audio-wm8894",
                .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(samsung_wm8994_of_match),
+               .pm     = &snd_soc_pm_ops,
        },
        .probe          = smdk_audio_probe,
 };