diff options
Diffstat (limited to 'sound/pci/asihpi/hpioctl.c')
-rw-r--r-- | sound/pci/asihpi/hpioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/asihpi/hpioctl.c b/sound/pci/asihpi/hpioctl.c index b1a2a7ea4172..7d049569012c 100644 --- a/sound/pci/asihpi/hpioctl.c +++ b/sound/pci/asihpi/hpioctl.c | |||
@@ -46,14 +46,14 @@ MODULE_FIRMWARE("asihpi/dsp8900.bin"); | |||
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | static int prealloc_stream_buf; | 48 | static int prealloc_stream_buf; |
49 | module_param(prealloc_stream_buf, int, S_IRUGO); | 49 | module_param(prealloc_stream_buf, int, 0444); |
50 | MODULE_PARM_DESC(prealloc_stream_buf, | 50 | MODULE_PARM_DESC(prealloc_stream_buf, |
51 | "Preallocate size for per-adapter stream buffer"); | 51 | "Preallocate size for per-adapter stream buffer"); |
52 | 52 | ||
53 | /* Allow the debug level to be changed after module load. | 53 | /* Allow the debug level to be changed after module load. |
54 | E.g. echo 2 > /sys/module/asihpi/parameters/hpiDebugLevel | 54 | E.g. echo 2 > /sys/module/asihpi/parameters/hpiDebugLevel |
55 | */ | 55 | */ |
56 | module_param(hpi_debug_level, int, S_IRUGO | S_IWUSR); | 56 | module_param(hpi_debug_level, int, 0644); |
57 | MODULE_PARM_DESC(hpi_debug_level, "debug verbosity 0..5"); | 57 | MODULE_PARM_DESC(hpi_debug_level, "debug verbosity 0..5"); |
58 | 58 | ||
59 | /* List of adapters found */ | 59 | /* List of adapters found */ |