search for: i2c_smbus_byt

Displaying 3 results from an estimated 3 matches for "i2c_smbus_byt".

Did you mean: i2c_smbus_byte
2014 Jul 07
0
[PATCH] Support for ASEM UPS on Linux/i2c
...dev.h:176:55: note: each undeclared identifier is reported only once for each function it appears in /usr/include/linux/i2c-dev.h: In function 'i2c_smbus_write_byte': /usr/include/linux/i2c-dev.h:191:41: error: 'NULL' undeclared (first use in this function) I2C_SMBUS_BYTE,NULL); Ref: http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-trusty-x64/builds/20/steps/configure/logs/config.log -- Charles Lepple clepple at gmail
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
...te: each undeclared identifier is reported only once for each function it appears in > /usr/include/linux/i2c-dev.h: In function 'i2c_smbus_write_byte': > /usr/include/linux/i2c-dev.h:191:41: error: 'NULL' undeclared (first use in this function) > I2C_SMBUS_BYTE,NULL); > > Ref: > http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-trusty-x64/builds/20/steps/configure/logs/config.log Seems that on x64 architectures NULL is not #defined in <stddef.h> the attached patch #includes <stdio.h> in AC_CHECK_DECLS. Tested on an ubun...