From 771d94fcb5367beabb5efd61501a26bc319bf111 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 15 Jun 2023 02:35:34 +0000 Subject: [PATCH] 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 --- sys/dev/pci/drm/drm_mipi_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.20.1