patch-2.4.0-test2 linux/drivers/block/floppy.c

Next file: linux/drivers/block/ida_cmd.h
Previous file: linux/drivers/block/elevator.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -3878,10 +3878,10 @@
 	    char name[16];
 
 	    sprintf (name, "%d%s", drive, table[table_sup[UDP->cmos][i]]);
-	    devfs_register (devfs_handle, name, 0, DEVFS_FL_DEFAULT, MAJOR_NR,
+	    devfs_register (devfs_handle, name, DEVFS_FL_DEFAULT, MAJOR_NR,
 			    base_minor + (table_sup[UDP->cmos][i] << 2),
 			    S_IFBLK | S_IRUSR | S_IWUSR | S_IRGRP |S_IWGRP,
-			    0, 0, &floppy_fops, NULL);
+			    &floppy_fops, NULL);
 	} while (table_sup[UDP->cmos][i++]);
     }
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)