On Wed, 29 Jan 2020 22:13:37 +0100, Wolfram Sang wrote: > > So let's say you want to access an I2C adapter from a C program. > > -First, you need to include these two headers:: > > +First, you need to include these three header files:: > > Just stumbled over it: maybe just drop the 'three'? No number makes > maintenance easier and it is not important for the user, I'd think. > > > > > + #include <linux/i2c.h> > > #include <linux/i2c-dev.h> > > - #include <i2c/smbus.h> > > + #include <sys/ioctl.h> Agreed, fixed. Thanks, -- Jean Delvare SUSE L3 Support