patch-2.4.3 linux/include/linux/cdrom.h
Next file: linux/include/linux/dcache.h
Previous file: linux/include/linux/blkdev.h
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Mon Mar 26 15:48:11 2001
-  Orig file: 
v2.4.2/linux/include/linux/cdrom.h
-  Orig date: 
Thu Jan  4 14:50:47 2001
diff -u --recursive --new-file v2.4.2/linux/include/linux/cdrom.h linux/include/linux/cdrom.h
@@ -524,10 +524,12 @@
 	__u32 end_sector_l0;
 };
 
+#define DVD_LAYERS	4
+
 struct dvd_physical {
 	__u8 type;
 	__u8 layer_num;
-	struct dvd_layer layer[4];
+	struct dvd_layer layer[DVD_LAYERS];
 };
 
 struct dvd_copyright {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)