From: Takashi Iwai <tiwai@suse•de>
To: Randy Dunlap <randy.dunlap@oracle•com>
Cc: Stephen Rothwell <sfr@canb•auug.org.au>,
linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
Jaroslav Kysela <perex@perex•cz>
Subject: Re: [PATCH -next] sound: fix usb build error when PM is not enabled
Date: Mon, 22 Mar 2010 17:11:08 +0100 [thread overview]
Message-ID: <s5hzl20wd43.wl%tiwai@suse.de> (raw)
In-Reply-To: <4BA792F7.8010801@oracle.com>
At Mon, 22 Mar 2010 08:55:35 -0700,
Randy Dunlap wrote:
>
> From: Randy Dunlap <randy.dunlap@oracle•com>
>
> Fix build errors when CONFIG_PM is not enabled:
>
> sound/usb/card.c:629: error: 'usb_audio_suspend' undeclared here (not in a function)
> sound/usb/card.c:630: error: 'usb_audio_resume' undeclared here (not in a function)
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
Applied now. Thanks!
Takashi
> ---
> sound/usb/card.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> --- linux-next-20100322.orig/sound/usb/card.c
> +++ linux-next-20100322/sound/usb/card.c
> @@ -606,6 +606,9 @@ static int usb_audio_resume(struct usb_i
>
> return 0;
> }
> +#else
> +#define usb_audio_suspend NULL
> +#define usb_audio_resume NULL
> #endif /* CONFIG_PM */
>
> static struct usb_device_id usb_audio_ids [] = {
>
prev parent reply other threads:[~2010-03-22 16:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-22 6:19 linux-next: Tree for March 22 Stephen Rothwell
2010-03-22 9:10 ` -next Mar 22: s390 build failure (drivers/s390/net/qeth_l3) Sachin Sant
2010-03-22 15:31 ` linux-next: Tree for March 22 (net-sysfs.c) Randy Dunlap
2010-03-22 17:22 ` David Miller
2010-03-22 20:48 ` Eric Dumazet
2010-03-23 1:05 ` David Miller
2010-03-22 15:55 ` [PATCH -next] sound: fix usb build error when PM is not enabled Randy Dunlap
2010-03-22 16:11 ` Takashi Iwai [this message]
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=s5hzl20wd43.wl%tiwai@suse.de \
--to=tiwai@suse$(echo .)de \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=perex@perex$(echo .)cz \
--cc=randy.dunlap@oracle$(echo .)com \
--cc=sfr@canb$(echo .)auug.org.au \
/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