On Sat, Oct 12, 2019 at 10:07 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: > On 10/11/19 8:54 PM, Dan Robertson wrote: > > +config BMA400_I2C > > + tristate > > + depends on BMA400 > > + depends on I2C > > + select REGMAP_I2C > > + > > The bma400_i2c driver seems to use some OF interfaces. > Should it also depend on OF? Please, avoid unnecessary and strict dependencies when it's limiting the area of use the driver. The driver does not depend to OF. Why to stick with OF? The actual change has to be done is to switch from > #include <linux/of.h> to #include <linux/mod_devicetable.h> -- With Best Regards, Andy Shevchenko