Signed-off-by: Jan Luebbe <jluebbe@xxxxxxxxxx> --- drivers/i2c/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c index 7a6bde0..ebc7e23 100644 --- a/drivers/i2c/i2c.c +++ b/drivers/i2c/i2c.c @@ -278,7 +278,7 @@ static void of_i2c_register_devices(struct i2c_adapter *adap) if (!IS_ENABLED(CONFIG_OFDEVICE) || !adap->dev.device_node) return; - for_each_child_of_node(adap->dev.device_node, n) { + for_each_available_child_of_node(adap->dev.device_node, n) { struct i2c_board_info info = {}; struct i2c_client *result; const __be32 *addr; -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox