mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 50876c5cd95770e788cccf670536ace8d7804f9f Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 19 Oct 2023 10:32:04 +0100
|
|
Subject: [PATCH 0684/1002] drm/fb_helper: Change query for FB designation from
|
|
drm_fb to drm-fb
|
|
|
|
Fixes: 1216ea56c2e3 ("drm/fb-helper: Look up preferred fbdev node number from DT")
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/drm_fb_helper.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
|
|
index a0fcb8a72e1a..7d4ed1530ac2 100644
|
|
--- a/drivers/gpu/drm/drm_fb_helper.c
|
|
+++ b/drivers/gpu/drm/drm_fb_helper.c
|
|
@@ -1868,11 +1868,11 @@ __drm_fb_helper_initial_config_and_unlock(struct drm_fb_helper *fb_helper)
|
|
* register the fbdev emulation instance in kernel_fb_helper_list. */
|
|
mutex_unlock(&fb_helper->lock);
|
|
|
|
- id = of_alias_get_highest_id("drm_fb");
|
|
+ id = of_alias_get_highest_id("drm-fb");
|
|
if (id >= 0)
|
|
fb_set_lowest_dynamic_fb(id + 1);
|
|
|
|
- id = of_alias_get_id(dev->dev->of_node, "drm_fb");
|
|
+ id = of_alias_get_id(dev->dev->of_node, "drm-fb");
|
|
if (id >= 0) {
|
|
info->node = id;
|
|
info->custom_fb_num = true;
|
|
--
|
|
2.44.0
|
|
|