Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
of/i2c: add dummy inline functions for when CONFIG_OF_I2C(_MODULE) is…
…n't defined If CONFIG_OF_I2C and CONFIG_OF_I2C_MODULE are undefined no declaration of of_find_i2c_device_by_node and of_find_i2c_adapter_by_node will be available. Add dummy inline functions to avoid compilation breakage. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
- Loading branch information