patch-2.4.0-test2 linux/drivers/sound/soundcard.c
Next file: linux/drivers/sound/trident.c
Previous file: linux/drivers/sound/sound_core.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Jun 21 22:31:02 2000
- Orig file:
v2.4.0-test1/linux/drivers/sound/soundcard.c
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -495,8 +495,8 @@
return 0;
}
-struct file_operations oss_sound_fops =
-{
+struct file_operations oss_sound_fops = {
+ owner: THIS_MODULE,
llseek: sound_lseek,
read: sound_read,
write: sound_write,
@@ -565,9 +565,9 @@
for (j = 0; j < num || j == 0; j++) {
soundcard_make_name (name_buf, dev_list[i].name, j);
if (do_register)
- devfs_register (NULL, name_buf, 0, DEVFS_FL_NONE,
+ devfs_register (NULL, name_buf, DEVFS_FL_NONE,
SOUND_MAJOR, dev_list[i].minor+ (j* 0x10),
- S_IFCHR | dev_list[i].mode, 0, 0,
+ S_IFCHR | dev_list[i].mode,
&oss_sound_fops, NULL);
else {
devfs_handle_t de;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)