Merge tag 'driver-core-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / drivers / i2c / i2c-core-of.c
index 7eb41990bd6deff1271c388395614c7d85fa54ad..e4d296b40baae48019425bb1a8999c7bf7727833 100644 (file)
@@ -50,6 +50,7 @@ int of_i2c_get_board_info(struct device *dev, struct device_node *node,
 
        info->addr = addr;
        info->of_node = node;
+       info->fwnode = of_fwnode_handle(node);
 
        if (of_property_read_bool(node, "host-notify"))
                info->flags |= I2C_CLIENT_HOST_NOTIFY;