patch-1.3.15 linux/include/linux/genhd.h

Next file: linux/include/linux/inet.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/include/linux/genhd.h linux/include/linux/genhd.h
@@ -41,7 +41,7 @@
 
 struct gendisk {
 	int major;			/* major number of driver */
-	char *major_name;		/* name of major driver */
+	const char *major_name;		/* name of major driver */
 	int minor_shift;		/* number of times minor is shifted to
 					   get real minor */
 	int max_p;			/* maximum partitions per device */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this