[PATCH RFC 01/13] i2c: add dummy inline functions for when CONFIG_OF_I2C(_MODULE) isn't defined

Grant Likely grant.likely at secretlab.ca
Tue Dec 11 19:39:33 EST 2012


On Mon, 10 Dec 2012 20:41:27 +0100, Sylwester Nawrocki <s.nawrocki at samsung.com> wrote:
> From: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
> 
> 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 at gmx.de>

Applied, thanks.

g.



More information about the devicetree-discuss mailing list