diff options
author | Reinhard Tartler <siretart@tauware.de> | 2007-04-30 09:35:54 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2007-04-30 09:35:54 +0200 |
commit | 874ef72c5b807b61bc53dbaa0fa623b40bff1736 (patch) | |
tree | 3c44151e2132fa82d3e7eef2aa82eee1c9e1369d /drv_generic_i2c.c | |
parent | cbaf3ad73900f63eae0add0e33439a1bf04b5a1e (diff) | |
download | lcd4linux-874ef72c5b807b61bc53dbaa0fa623b40bff1736.tar.gz |
new upstream version
Diffstat (limited to '')
-rw-r--r-- | drv_generic_i2c.c | 6 |
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); } |