next-2008-12-04: ca0106 compile fix

From: Alexey Dobriyan
Date: Thu Dec 04 2008 - 08:56:23 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/