summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/device/device_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device/device_types.h b/include/device/device_types.h
index 63ec26bd..f13122f0 100644
--- a/include/device/device_types.h
+++ b/include/device/device_types.h
@@ -69,12 +69,14 @@ typedef unsigned int dev_mode_t;
* IO buffer - out-of-line array of characters.
*/
typedef char * io_buf_ptr_t;
+typedef const char * const_io_buf_ptr_t;
/*
* IO buffer - in-line array of characters.
*/
#define IO_INBAND_MAX (128) /* must match device_types.defs */
typedef char io_buf_ptr_inband_t[IO_INBAND_MAX];
+typedef const char *const_io_buf_ptr_inband_t;
/*
* IO buffer vector - for scatter/gather IO.