patch-2.3.41 linux/include/linux/kdev_t.h

Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/isapnp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/include/linux/kdev_t.h linux/include/linux/kdev_t.h
@@ -73,7 +73,7 @@
 #define MKDEV(ma,mi)	(((ma) << MINORBITS) | (mi))
 #define B_FREE		0xffff		/* yuk */
 
-extern char * kdevname(kdev_t);	/* note: returns pointer to static data! */
+extern const char * kdevname(kdev_t);	/* note: returns pointer to static data! */
 
 /*
 As long as device numbers in the outside world have 16 bits only,

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