summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/sapi/include')
-rw-r--r--cpukit/sapi/include/confdefs.h6
-rw-r--r--cpukit/sapi/include/rtems/io.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 8d8f3b889b..de4bc5dc4f 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -133,7 +133,7 @@ extern int rtems_telnetd_maximum_ptys;
#ifdef CONFIGURE_INIT
#ifndef CONFIGURE_HAS_OWN_MOUNT_TABLE
- rtems_filesystem_mount_table_t configuration_mount_table = {
+ const rtems_filesystem_mount_table_t configuration_mount_table = {
#ifdef CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
&IMFS_ops,
#else /* using miniIMFS as base filesystem */
@@ -144,9 +144,9 @@ extern int rtems_telnetd_maximum_ptys;
NULL
};
- rtems_filesystem_mount_table_t
+ const rtems_filesystem_mount_table_t
*rtems_filesystem_mount_table = &configuration_mount_table;
- int rtems_filesystem_mount_table_size = 1;
+ const int rtems_filesystem_mount_table_size = 1;
#endif
#endif
diff --git a/cpukit/sapi/include/rtems/io.h b/cpukit/sapi/include/rtems/io.h
index fdabc028b6..e96a2f6333 100644
--- a/cpukit/sapi/include/rtems/io.h
+++ b/cpukit/sapi/include/rtems/io.h
@@ -120,7 +120,7 @@ void _IO_Manager_initialization(
rtems_status_code rtems_io_register_driver(
rtems_device_major_number major,
- rtems_driver_address_table *driver_table,
+ const rtems_driver_address_table *driver_table,
rtems_device_major_number *registered_major
);