public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org, tiwai@suse•de
Subject: next-2008-12-04: ca0106 compile fix
Date: Thu, 4 Dec 2008 17:00:10 +0300	[thread overview]
Message-ID: <20081204140010.GA13953@x200.localdomain> (raw)
In-Reply-To: <20081204200745.eff0ac87.sfr@canb.auug.org.au>

Please, fold into 2c5dd6425e72a6e97d9fb9fee9910a58f02d77df
aka "ALSA: ca0106 - Add power-amangement support"
			      ^^

  CC [M]  sound/pci/ca0106/ca0106_main.o
sound/pci/ca0106/ca0106_main.c:1809: error: 'snd_ca0106_suspend' undeclared here (not in a function)
sound/pci/ca0106/ca0106_main.c:1810: error: 'snd_ca0106_resume' undeclared here (not in a function)

--- a/sound/pci/ca0106/ca0106_main.c
+++ b/sound/pci/ca0106/ca0106_main.c
@@ -1806,8 +1806,10 @@ static struct pci_driver driver = {
 	.id_table = snd_ca0106_ids,
 	.probe = snd_ca0106_probe,
 	.remove = __devexit_p(snd_ca0106_remove),
+#ifdef CONFIG_PM
 	.suspend = snd_ca0106_suspend,
 	.resume = snd_ca0106_resume,
+#endif
 };
 
 // initialization of the module

  reply	other threads:[~2008-12-04 13:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04  9:07 linux-next: Tree for December 4 Stephen Rothwell
2008-12-04 14:00 ` Alexey Dobriyan [this message]
2008-12-04 14:28   ` next-2008-12-04: ca0106 compile fix Takashi Iwai
2008-12-04 14:04 ` next-2008-12-04: ubifs section fixlet Alexey Dobriyan
2008-12-04 14:18   ` Artem Bityutskiy
2008-12-05  0:50 ` linux-next: Tree for December 4 (netdev-related: several) Randy Dunlap
2008-12-05  7:06 ` next-2008-12-04: vm.bio_inline_vecs Alexey Dobriyan
2008-12-05  8:44   ` Jens Axboe
     [not found] ` <20081204200745.eff0ac87.sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
2008-12-06 12:04   ` linux-next: Tree for December 4 Mariusz Kozlowski
     [not found]     ` <200812061304.12216.m.kozlowski-NWF1p15JEu3VItvQsEIGlw@public.gmane.org>
2008-12-06 13:42       ` Alexander Beregalov
2008-12-07  0:43         ` Stephen Rothwell
2008-12-09  7:07 ` next-20081104 - kernel panic on ia64 box, at __mutex_lock_interruptible_slowpath Kamalesh Babulal
2008-12-09 18:50   ` Luck, Tony

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=20081204140010.GA13953@x200.localdomain \
    --to=adobriyan@gmail$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=tiwai@suse$(echo .)de \
    /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