From: Shixiong Ou <oushixi...@kylinos.cn>

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 <oushixi...@kylinos.cn>
---
 drivers/video/fbdev/core/fbcon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
index 25684f5d6523..d8eab4859fd4 100644
--- a/drivers/video/fbdev/core/fbcon.c
+++ b/drivers/video/fbdev/core/fbcon.c
@@ -953,13 +953,13 @@ static const char *fbcon_startup(void)
        int rows, cols;
 
        /*
-        *  If num_registered_fb is zero, this is a call for the dummy part.
+        *  If fbcon_num_registered_fb is zero, this is a call for the dummy 
part.
         *  The frame buffer devices weren't initialized yet.
         */
        if (!fbcon_num_registered_fb || info_idx == -1)
                return display_desc;
        /*
-        * Instead of blindly using registered_fb[0], we use info_idx, set by
+        * Instead of blindly using fbcon_registered_fb[0], we use info_idx, 
set by
         * fbcon_fb_registered();
         */
        info = fbcon_registered_fb[info_idx];
-- 
2.25.1

Reply via email to