summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/devfs/devfs.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-10 07:11:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-10 07:11:26 +0000
commit48943dc1958d8938a5e82c9a175d4e478672f104 (patch)
tree95a1a753d6cdb3ae99e55d81016aabb6570510df /cpukit/libfs/src/devfs/devfs.h
parent2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-48943dc1958d8938a5e82c9a175d4e478672f104.tar.bz2
2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs_mknod.c: Remove const cast. * libfs/src/imfs/ioman.c: Remove const cast. * libfs/src/devfs/devfs.h: Make device_name a const char*. * sapi/include/rtems/io.h: Make device_name a const char*.
Diffstat (limited to '')
-rw-r--r--cpukit/libfs/src/devfs/devfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/devfs/devfs.h b/cpukit/libfs/src/devfs/devfs.h
index eafa069cb8..6e4f2478c7 100644
--- a/cpukit/libfs/src/devfs/devfs.h
+++ b/cpukit/libfs/src/devfs/devfs.h
@@ -21,7 +21,7 @@ extern "C" {
typedef struct
{
/** This member points to device name which is a null-terminated string */
- char *device_name;
+ const char *device_name;
/** This member is the name length of a device */
uint32_t device_name_length;
/** major number of a device */