24 #include <linux/module.h>
31 #define CHIP_NAME "PMac"
39 static bool enable_beep = 1;
69 switch (chip->
model) {
102 name_ext =
" [PB3400]";
104 name_ext =
" [PBG3]";
130 platform_set_drvdata(devptr, card);
142 platform_set_drvdata(devptr,
NULL);
146 #ifdef CONFIG_PM_SLEEP
147 static int snd_pmac_driver_suspend(
struct device *
dev)
154 static int snd_pmac_driver_resume(
struct device *
dev)
161 static SIMPLE_DEV_PM_OPS(snd_pmac_pm, snd_pmac_driver_suspend, snd_pmac_driver_resume);
162 #define SND_PMAC_PM_OPS &snd_pmac_pm
164 #define SND_PMAC_PM_OPS NULL
167 #define SND_PMAC_DRIVER "snd_powermac"
170 .probe = snd_pmac_probe,
179 static int __init alsa_card_pmac_init(
void)
190 static void __exit alsa_card_pmac_exit(
void)