Skip to content

Commit 0f168e7

Browse files
Shixiong Oudanvet
authored andcommitted
fbcon: Fix outdated registered_fb reference in comment
The variable was renamed to fbcon_registered_fb, but this comment was not updated along with the change. Correct it to avoid confusion. Signed-off-by: Shixiong Ou <[email protected]> Fixes: efc3acb ("fbcon: Maintain a private array of fb_info") [sima: Add Fixes: line.] Signed-off-by: Simona Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 820845c commit 0f168e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/video/fbdev/core/fbcon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,13 +953,13 @@ static const char *fbcon_startup(void)
953953
int rows, cols;
954954

955955
/*
956-
* If num_registered_fb is zero, this is a call for the dummy part.
956+
* If fbcon_num_registered_fb is zero, this is a call for the dummy part.
957957
* The frame buffer devices weren't initialized yet.
958958
*/
959959
if (!fbcon_num_registered_fb || info_idx == -1)
960960
return display_desc;
961961
/*
962-
* Instead of blindly using registered_fb[0], we use info_idx, set by
962+
* Instead of blindly using fbcon_registered_fb[0], we use info_idx, set by
963963
* fbcon_fb_registered();
964964
*/
965965
info = fbcon_registered_fb[info_idx];

0 commit comments

Comments
 (0)