> 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>
Attachment:
signature.asc
Description: PGP signature