* [PATCH] btaudio module_param conversion
@ 2004-11-14 0:28 Jan Dittmer
0 siblings, 0 replies; only message in thread
From: Jan Dittmer @ 2004-11-14 0:28 UTC (permalink / raw)
To: Linux kernel; +Cc: kraxel
btaudio module_param conversion
Signed-off-by: Jan Dittmer <jdittmer@ppp0.net>
diff -Nru a/sound/oss/btaudio.c b/sound/oss/btaudio.c
--- a/sound/oss/btaudio.c 2004-11-14 01:24:57 +01:00
+++ b/sound/oss/btaudio.c 2004-11-14 01:24:57 +01:00
@@ -1113,15 +1113,15 @@
module_init(btaudio_init_module);
module_exit(btaudio_cleanup_module);
-MODULE_PARM(dsp1,"i");
-MODULE_PARM(dsp2,"i");
-MODULE_PARM(mixer,"i");
-MODULE_PARM(debug,"i");
-MODULE_PARM(irq_debug,"i");
-MODULE_PARM(digital,"i");
-MODULE_PARM(analog,"i");
-MODULE_PARM(rate,"i");
-MODULE_PARM(latency,"i");
+module_param(dsp1, int, S_IRUGO);
+module_param(dsp2, int, S_IRUGO);
+module_param(mixer, int, S_IRUGO);
+module_param(debug, int, S_IRUGO | S_IWUSR);
+module_param(irq_debug, int, S_IRUGO | S_IWUSR);
+module_param(digital, int, S_IRUGO);
+module_param(analog, int, S_IRUGO);
+module_param(rate, int, S_IRUGO);
+module_param(latency, int, S_IRUGO);
MODULE_PARM_DESC(latency,"pci latency timer");
MODULE_DEVICE_TABLE(pci, btaudio_pci_tbl);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-14 0:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-14 0:28 [PATCH] btaudio module_param conversion Jan Dittmer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.