Displaying 3 results from an estimated 3 matches for "i2c_smbus_read_word_data".
2014 Jul 07
0
[PATCH] Support for ASEM UPS on Linux/i2c
...el, but without required functions. Changed the configure.ac check to look for the functions, not just the header.
> To build the driver you'll need libi2c-dev package (part of i2c-tools) on 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)...
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
...ed functions. Changed the configure.ac check to look for the functions, not just the header.
>> To build the driver you'll need libi2c-dev package (part of i2c-tools) on 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 u...