Building on arch linux with kernel 7.1.9 throws an error due to I2C_FUNC_I2C (i2c.c) not being defined. including <linux i2c.h=""> in addition to the already included <linux i2c-dev.h=""> solves the issue. </linux></linux>
This is so weird. I had this repo included as a submodule, and after removing it and re-adding it i2c.c now matches what you've shown above. I have no clue what I did wrong the first time but everything is correct now...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
bad formatting above, "linux/i2c.h" and "linux/i2c-dev" respectively
Thanks for the heads-up but we have always included both of them.
Where are your sources from?
This is so weird. I had this repo included as a submodule, and after removing it and re-adding it i2c.c now matches what you've shown above. I have no clue what I did wrong the first time but everything is correct now...