aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drv_generic_i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drv_generic_i2c.c b/drv_generic_i2c.c
index 1e9f7af..f699853 100644
--- a/drv_generic_i2c.c
+++ b/drv_generic_i2c.c
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_i2c.c 728 2007-01-14 11:14:38Z michael $
+/* $Id: drv_generic_i2c.c 773 2007-02-25 12:39:09Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_generic_i2c.c $
*
* generic driver helper for i2c displays
@@ -167,7 +167,7 @@ void drv_generic_i2c_data(const unsigned char data)
}
-void drv_generic_i2c_command(const unsigned char command, const unsigned char *data, const unsigned char length)
+void drv_generic_i2c_command(const unsigned char command, /*const */ unsigned char *data, const unsigned char length)
{
- i2c_smbus_write_block_data(i2c_device, command, length, (unsigned char *) data);
+ i2c_smbus_write_block_data(i2c_device, command, length, data);
}