projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70abdd
)
drm/ast: make ast_modeset static
author
ruanjinjie
<ruanjinjie@huawei.com>
Mon, 26 Sep 2022 02:32:53 +0000
(10:32 +0800)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 26 Sep 2022 07:11:47 +0000
(09:11 +0200)
The symbol is not used outside of the file, so mark it static.
Fixes the following warning:
drivers/gpu/drm/ast/ast_drv.c:42:5: warning: symbol 'ast_modeset'
was not declared. Should it be static?
Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/20220926023253.739699-1-ruanjinjie@huawei.com
drivers/gpu/drm/ast/ast_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ast/ast_drv.c
b/drivers/gpu/drm/ast/ast_drv.c
index 760b27971557277a3ea70c34521c16f42d4a255c..b9392f31e6291c4dc65f2b57d893384b6cd07a14 100644
(file)
--- a/
drivers/gpu/drm/ast/ast_drv.c
+++ b/
drivers/gpu/drm/ast/ast_drv.c
@@
-39,7
+39,7
@@
#include "ast_drv.h"
-int ast_modeset = -1;
+
static
int ast_modeset = -1;
MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
module_param_named(modeset, ast_modeset, int, 0400);