9 #include <linux/module.h>
14 #include <linux/input.h>
16 #include <asm/bitops.h>
53 "(%linS)\n", tp.tv_nsec);
111 err = snd_pcsp_create(card);
149 err = snd_card_pcsp_probe(0, dev);
155 #ifdef CONFIG_DEBUG_PAGEALLOC
158 "which may make the sound noisy.\n");
177 err = alsa_card_pcsp_init(&dev->
dev);
190 alsa_card_pcsp_exit(chip);
192 platform_set_drvdata(dev,
NULL);
202 #ifdef CONFIG_PM_SLEEP
203 static int pcsp_suspend(
struct device *dev)
206 pcsp_stop_beep(chip);
207 snd_pcm_suspend_all(chip->
pcm);
212 #define PCSP_PM_OPS &pcsp_pm
214 #define PCSP_PM_OPS NULL
220 pcsp_stop_beep(chip);
231 .shutdown = pcsp_shutdown,
234 static int __init pcsp_init(
void)
241 static void __exit pcsp_exit(
void)