Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Thu, 4 Dec 2008 17:00:10 +0300 | From | Alexey Dobriyan <> | Subject | next-2008-12-04: ca0106 compile fix |
| |
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
| ![\](/images/icornerr.gif) |