Displaying 3 results from an estimated 3 matches for "i2c_smbus_write_quick".
2014 Jul 07
0
[PATCH] Support for ASEM UPS on Linux/i2c
...debian.
libi2c-dev is now installed on the ubuntu-trusty builder.
configure:10067: checking whether i2c_smbus_read_word_data is declared
configure:10067: gcc -c -g -O2 -Wall -Wsign-compare conftest.c >&5
In file included from conftest.c:72:0:
/usr/include/linux/i2c-dev.h: In function 'i2c_smbus_write_quick':
/usr/include/linux/i2c-dev.h:176:55: error: 'NULL' undeclared (first use in this function)
return i2c_smbus_access(file,value,0,I2C_SMBUS_QUICK,NULL);
^
/usr/include/linux/i2c-dev.h:176:55: note: each undeclared identifier is re...
2014 Jul 07
2
[PATCH] Support for ASEM UPS on Linux/i2c
On 07/07/2014 15:03, Charles Lepple wrote:
> Giuseppe Corbelli <giuseppe.corbelli <at> copanitalia.com> writes:
>
>> Nevermind, please try the one attached, just created by
>>
>> git diff -p 80d9534 configure.ac data/driver.list.in drivers/Makefile.am
>> drivers/asem.c > asem.patch
>>
>> Just applied it on current master
2014 Jul 08
2
[PATCH] Support for ASEM UPS on Linux/i2c
...ow installed on the ubuntu-trusty builder.
>
> configure:10067: checking whether i2c_smbus_read_word_data is declared
> configure:10067: gcc -c -g -O2 -Wall -Wsign-compare conftest.c >&5
> In file included from conftest.c:72:0:
> /usr/include/linux/i2c-dev.h: In function 'i2c_smbus_write_quick':
> /usr/include/linux/i2c-dev.h:176:55: error: 'NULL' undeclared (first use in this function)
> return i2c_smbus_access(file,value,0,I2C_SMBUS_QUICK,NULL);
> ^
> /usr/include/linux/i2c-dev.h:176:55: note: each undec...