ASoC: Blackfin I2S: add lost platform_device parameter to resume function
authorBarry Song <barry.song@analog.com>
Thu, 17 Sep 2009 00:25:11 +0000 (20:25 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 Sep 2009 09:51:35 +0000 (10:51 +0100)
Commit dc7d7b830ee1 trimmed the platform_device parameter from all of the
suspend functions, but it also accidentally removed it from the resume
function in the Blackfin I2S driver.  So restore it.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/bf5xx-i2s.c

index 876abad..19539c6 100644 (file)
@@ -227,7 +227,8 @@ static int bf5xx_i2s_probe(struct platform_device *pdev,
        return 0;
 }
 
-static void bf5xx_i2s_remove(struct snd_soc_dai *dai)
+static void bf5xx_i2s_remove(struct platform_device *pdev,
+                       struct snd_soc_dai *dai)
 {
        pr_debug("%s enter\n", __func__);
        peripheral_free_list(&sport_req[sport_num][0]);