aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-02-01 22:18:09 +0100
committerTakashi Iwai <tiwai@suse.de>2011-02-01 22:18:09 +0100
commit0e2c4deaafbc89f274f1bab7c588ed39d09af8bf (patch)
tree36016f8011af850419d221df58a7472fda5755e2
parent616ce0ae28eaaec238619b69ef952ae2f1aff587 (diff)
downloadalsa-driver-build-unstable-0e2c4deaafbc89f274f1bab7c588ed39d09af8bf.tar.gz
Fixed typos in soc-core.patch
to fix build errors. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--soc/soc-core.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/soc/soc-core.patch b/soc/soc-core.patch
index 6ec58b39e..ca73504a6 100644
--- a/soc/soc-core.patch
+++ b/soc/soc-core.patch
@@ -1,5 +1,5 @@
--- ../alsa-kernel/soc/soc-core.c 2011-02-01 17:32:46.000000000 +0100
-+++ soc-core.c 2011-02-01 18:42:44.023291050 +0100
++++ soc-core.c 2011-02-01 22:17:09.940322428 +0100
@@ -1,3 +1,8 @@
+#include "adriver.h"
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
@@ -45,11 +45,11 @@
+#ifdef CONFIG_PM
+static int soc_old_suspend(struct platform_device *pdev, pm_message_t state)
+{
-+ return soc_suspend(&pdev->dev);
++ return snd_soc_suspend(&pdev->dev);
+}
+static int soc_old_resume(struct platform_device *pdev)
+{
-+ return soc_resume(&pdev->dev);
++ return snd_soc_resume(&pdev->dev);
+}
+#else
+#define soc_old_suspend NULL