The signature of drm_fb_helper_restore_fbdev_mode_unlocked() was modified
in commit 943240d342f14 ("drm/client: Pass force parameter to client
restore") to add a force parameter, but this was not added to the stub
equivalent for when CONFIG_DRM_FBDEV_EMULATION is not enabled.

Suggested-by: Karolis Mituzas <[email protected]>
Fixes: 943240d342f14 ("drm/client: Pass force parameter to client restore")
Signed-off-by: Matt Coster <[email protected]>
---
 include/drm/drm_fb_helper.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h
index dd9a18f8de5a7..eebb36a099698 100644
--- a/include/drm/drm_fb_helper.h
+++ b/include/drm/drm_fb_helper.h
@@ -333,7 +333,8 @@ static inline int drm_fb_helper_check_var(struct 
fb_var_screeninfo *var,
 }
 
 static inline int
-drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper)
+drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper,
+                                         bool force)
 {
        return 0;
 }

---
base-commit: b91a565ed14fcf900b4d95e86882b4b763860986
change-id: 20260114-drm-fb-helper-stub-fix-03f07bd2be61

Reply via email to