From: jsg Date: Thu, 15 Jun 2023 02:35:34 +0000 (+0000) Subject: drm/mipi-dsi: Set the fwnode for mipi_dsi_device X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=771d94fcb5367beabb5efd61501a26bc319bf111;p=openbsd drm/mipi-dsi: Set the fwnode for mipi_dsi_device From Saravana Kannan 3ff962242f5b69176d859c03948fe20cf234d2c3 in linux-6.1.y/6.1.30 a26cc2934331b57b5a7164bff344f0a2ec245fc0 in mainline linux --- diff --git a/sys/dev/pci/drm/drm_mipi_dsi.c b/sys/dev/pci/drm/drm_mipi_dsi.c index a8a0796aec0..aacee432636 100644 --- a/sys/dev/pci/drm/drm_mipi_dsi.c +++ b/sys/dev/pci/drm/drm_mipi_dsi.c @@ -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));