summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-02-27 13:11:21 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-28 13:12:38 +0100
commitf54450ad1942287cc76b38021c0441fc4901d2de (patch)
treec668f5457162f5849ee1e204d308ec83a2cf444c
parentc396a5bf457fb60159dcedbd4f48d53a62be030a (diff)
downloadlinux-f54450ad1942287cc76b38021c0441fc4901d2de.tar.bz2
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 <fengguang.wu@intel.com> Fixes: 4fe505119778 ("console: Expand dummy functions for CFI") Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/video/console/newport_con.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/newport_con.c b/drivers/video/console/newport_con.c
index 6897bd0fc00e..7f2526b43b33 100644
--- a/drivers/video/console/newport_con.c
+++ b/drivers/video/console/newport_con.c
@@ -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,