@@ -1574,6 +1574,7 @@ static struct i2c_client *of_i2c_register_device(struct i2c_adapter *adap,
info.addr = addr;
info.of_node = of_node_get(node);
+ info.fwnode = &node->fwnode;
info.archdata = &dev_ad;
if (of_get_property(node, "wakeup-source", NULL))
@@ -179,6 +179,7 @@ static int mfd_add_device(struct device *parent, int id,
for_each_child_of_node(parent->of_node, np) {
if (of_device_is_compatible(np, cell->of_compatible)) {
pdev->dev.of_node = np;
+ pdev->dev.fwnode = &np->fwnode;
break;
}
}