patch-2.4.0-test11 linux/drivers/sound/maestro.c
Next file: linux/drivers/sound/maui.c
Previous file: linux/drivers/sound/iwmem.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Nov 11 18:33:13 2000
- Orig file:
v2.4.0-test10/linux/drivers/sound/maestro.c
- Orig date:
Tue Aug 29 14:09:15 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/maestro.c linux/drivers/sound/maestro.c
@@ -115,6 +115,8 @@
* themselves, but we'll see.
*
* History
+ * (still v0.14) Nov 10 2000 - Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
+ * add __init to maestro_ac97_init() and maestro_install()
* (still based on v0.14) Mar 29 2000 - Zach Brown <zab@redhat.com>
* move to 2.3 power management interface, which
* required hacking some suspend/resume/check paths
@@ -812,7 +814,7 @@
* The PT101 setup is untested.
*/
-static u16 maestro_ac97_init(struct ess_card *card)
+static u16 __init maestro_ac97_init(struct ess_card *card)
{
u16 vend1, vend2, caps;
@@ -3290,7 +3292,7 @@
return card->power_regs ? 1 : 0;
}
-static int
+static int __init
maestro_install(struct pci_dev *pcidev, int card_type)
{
u32 n;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)