From: Randy Dunlap <randy.dunlap@oracle•com>
To: linux-next@vger•kernel.org
Cc: liam.girdwood@wolfsonmicro•com,
broonie@opensource•wolfsonmicro.com,
akpm <akpm@linux-foundation•org>
Subject: [PATCH -next] SOC audio: fix PM=n build
Date: Tue, 17 Jun 2008 09:46:29 -0700 [thread overview]
Message-ID: <20080617094629.4859e2c2.randy.dunlap@oracle.com> (raw)
From: Randy Dunlap <randy.dunlap@oracle•com>
Fix sound/soc build failure when CONFIG_PM=n:
linux-next-20080617/sound/soc/soc-core.c:829: error: 'soc_resume_deferred' undeclared (first use in this function)
soc3.out:make[3]: *** [sound/soc/soc-core.o] Error 1
Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
---
sound/soc/soc-core.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-next-20080617.orig/sound/soc/soc-core.c
+++ linux-next-20080617/sound/soc/soc-core.c
@@ -825,8 +825,10 @@ static int soc_probe(struct platform_dev
/* DAPM stream work */
INIT_DELAYED_WORK(&socdev->delayed_work, close_delayed_work);
+#ifdef CONFIG_PM
/* deferred resume work */
INIT_WORK(&socdev->deferred_resume_work, soc_resume_deferred);
+#endif
return 0;
next reply other threads:[~2008-06-17 16:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 16:46 Randy Dunlap [this message]
2008-06-17 18:09 ` [PATCH -next] SOC audio: fix PM=n build Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080617094629.4859e2c2.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=broonie@opensource$(echo .)wolfsonmicro.com \
--cc=liam.girdwood@wolfsonmicro$(echo .)com \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox