diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-07-11 10:05:53 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-07-11 10:05:53 +0000 |
commit | 9ab94a1fc7c4817a4d6ddf2b37a366c46abb2609 (patch) | |
tree | ab28aff9e342bfbf26cc648395d531a96fc1ecbf /cpukit/libi2c/libi2c.h | |
parent | added support for mcf548x (diff) | |
download | rtems-9ab94a1fc7c4817a4d6ddf2b37a366c46abb2609.tar.bz2 |
made buffer for write calls constant
Diffstat (limited to 'cpukit/libi2c/libi2c.h')
-rw-r--r-- | cpukit/libi2c/libi2c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libi2c/libi2c.h b/cpukit/libi2c/libi2c.h index 20c4311d3a..d03d02fe10 100644 --- a/cpukit/libi2c/libi2c.h +++ b/cpukit/libi2c/libi2c.h @@ -337,7 +337,7 @@ rtems_libi2c_read_bytes (rtems_device_minor_number minor, int rtems_libi2c_write_bytes (rtems_device_minor_number minor, - unsigned char *bytes, int nbytes); + const unsigned char *bytes, int nbytes); /* Send start, send address and read bytes */ int @@ -348,7 +348,7 @@ rtems_libi2c_start_read_bytes (rtems_device_minor_number minor, /* Send start, send address and write bytes */ int rtems_libi2c_start_write_bytes (rtems_device_minor_number minor, - unsigned char *bytes, + const unsigned char *bytes, int nbytes); |