|
@@ -29,7 +29,7 @@ void of_i2c_register_devices(struct i2c_adapter *adap)
|
|
|
|
|
|
dev_dbg(&adap->dev, "of_i2c: walking child nodes\n");
|
|
dev_dbg(&adap->dev, "of_i2c: walking child nodes\n");
|
|
|
|
|
|
- for_each_child_of_node(adap->dev.of_node, node) {
|
|
|
|
|
|
+ for_each_available_child_of_node(adap->dev.of_node, node) {
|
|
struct i2c_board_info info = {};
|
|
struct i2c_board_info info = {};
|
|
struct dev_archdata dev_ad = {};
|
|
struct dev_archdata dev_ad = {};
|
|
const __be32 *addr;
|
|
const __be32 *addr;
|