[rtems commit] libblock: rtems_ide_part_table_initialize() API

Sebastian Huber sebh at rtems.org
Tue Mar 13 11:31:32 UTC 2012


Module:    rtems
Branch:    master
Commit:    c93fc2b36be9a71d09c238cfb037c9f54631c417
Changeset: http://git.rtems.org/rtems/commit/?id=c93fc2b36be9a71d09c238cfb037c9f54631c417

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Feb 28 14:57:01 2012 +0100

libblock: rtems_ide_part_table_initialize() API

---

 cpukit/libblock/include/rtems/ide_part_table.h |    2 +-
 cpukit/libblock/src/ide_part_table.c           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/libblock/include/rtems/ide_part_table.h b/cpukit/libblock/include/rtems/ide_part_table.h
index c6fe587..470f5d0 100644
--- a/cpukit/libblock/include/rtems/ide_part_table.h
+++ b/cpukit/libblock/include/rtems/ide_part_table.h
@@ -207,7 +207,7 @@ rtems_status_code rtems_ide_part_table_get(
  * @deprecated Use the @ref rtems_bdpart "block device partition module" instead.
  */
 rtems_status_code rtems_ide_part_table_initialize(
-  char *dev_name
+  const char *dev_name
 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
 
 #ifdef __cplusplus
diff --git a/cpukit/libblock/src/ide_part_table.c b/cpukit/libblock/src/ide_part_table.c
index ed3f3ab..5a71d79 100644
--- a/cpukit/libblock/src/ide_part_table.c
+++ b/cpukit/libblock/src/ide_part_table.c
@@ -546,7 +546,7 @@ rtems_ide_part_table_get(const char *dev_name, rtems_disk_desc_t *disk_desc)
  *      RTEMS_INTERNAL_ERROR if other error occurs.
  */
 rtems_status_code
-rtems_ide_part_table_initialize(char *dev_name)
+rtems_ide_part_table_initialize(const char *dev_name)
 {
     int                         part_num;
     dev_t                       dev;




More information about the vc mailing list