So '- km' in the sensors.h comments must be Kyosti... There has got to be some common header files between kernel and user space so that data structures and "magic" constants are shared. If user space can't include kernel headers, then the kernel will have to include a "user space" header. It would seem to me that the alternative of having two copies of the same data structures and constants would be worse. When did this become such a big issue? Absolutely, either put the old code back or create another file with the common code that can be included one place or the other... :v) Mark D. Studebaker wrote: > Kyosti took 173 lines out of i2c-dev.h in the main i2c branch > because userspace shouldn't include kernel headers, > and then merged that change into the lk2-4 branch too. > > But I don't recall seeing any replacement. > > Is there one? > Should we undo the changes so we have working userspace utilities > again or should we create a userspace version of i2c-dev.h? > > I'm not claiming the old i2c-dev.h was pretty but we need something. >