projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd9d7c1
)
fbcon: Make fbcon_registered_fb and fbcon_num_registered_fb static
author
GUO Zihua
<guozihua@huawei.com>
Thu, 3 Aug 2023 02:09:39 +0000
(10:09 +0800)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 3 Aug 2023 09:06:34 +0000
(11:06 +0200)
fbcon_registered_fb and fbcon_num_registered_fb is not referred outside
drivers/video/fbdev/core/fbcon.c, so make them static.
Signed-off-by: GUO Zihua <guozihua@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/20230803020939.491-1-guozihua@huawei.com
drivers/video/fbdev/core/fbcon.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/core/fbcon.c
b/drivers/video/fbdev/core/fbcon.c
index 0246948f3c81a7a61e865f4ea12a9f77e57525ef..9f265271b5b9c1f141d99510472ec05829443dc5 100644
(file)
--- a/
drivers/video/fbdev/core/fbcon.c
+++ b/
drivers/video/fbdev/core/fbcon.c
@@
-103,8
+103,8
@@
enum {
static struct fbcon_display fb_display[MAX_NR_CONSOLES];
-struct fb_info *fbcon_registered_fb[FB_MAX];
-int fbcon_num_registered_fb;
+st
atic st
ruct fb_info *fbcon_registered_fb[FB_MAX];
+
static
int fbcon_num_registered_fb;
#define fbcon_for_each_registered_fb(i) \
for (i = 0; WARN_CONSOLE_UNLOCKED(), i < FB_MAX; i++) \