mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
console: Drop added "static" for newport_con
Commit 4fe505119778 ("console: Expand dummy functions for CFI") accidentally
added "static" to newport_con instance of struct consw, while trying to
normalize the declarations. This, however, needed to stay non-static as it
has an extern.
Reported-by: kbuild test robot <[email protected]>
Fixes: 4fe505119778 ("console: Expand dummy functions for CFI")
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c396a5bf45
commit
f54450ad19
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ static int newport_set_origin(struct vc_data *vc)
|
|||
|
||||
static void newport_save_screen(struct vc_data *vc) { }
|
||||
|
||||
static const struct consw newport_con = {
|
||||
const struct consw newport_con = {
|
||||
.owner = THIS_MODULE,
|
||||
.con_startup = newport_startup,
|
||||
.con_init = newport_init,
|
||||
|
|
|
|||
Loading…
Reference in a new issue