drm/mipi-dsi: Set the fwnode for mipi_dsi_device
authorjsg <jsg@openbsd.org>
Thu, 15 Jun 2023 02:35:34 +0000 (02:35 +0000)
committerjsg <jsg@openbsd.org>
Thu, 15 Jun 2023 02:35:34 +0000 (02:35 +0000)
From Saravana Kannan
3ff962242f5b69176d859c03948fe20cf234d2c3 in linux-6.1.y/6.1.30
a26cc2934331b57b5a7164bff344f0a2ec245fc0 in mainline linux

sys/dev/pci/drm/drm_mipi_dsi.c

index a8a0796..aacee43 100644 (file)
@@ -223,7 +223,7 @@ mipi_dsi_device_register_full(struct mipi_dsi_host *host,
                return dsi;
        }
 
-       dsi->dev.of_node = info->node;
+       device_set_node(&dsi->dev, of_fwnode_handle(info->node));
        dsi->channel = info->channel;
        strlcpy(dsi->name, info->type, sizeof(dsi->name));