]> git.baikalelectronics.ru Git - kernel.git/commit
vt: fix regression warnings from KMS merge
authorJason Wessel <jason.wessel@windriver.com>
Mon, 16 Aug 2010 20:58:30 +0000 (15:58 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Mon, 16 Aug 2010 20:58:30 +0000 (15:58 -0500)
commit5fd6f4b028bb8a4abdeddd1735e2243a257d6801
treea923c4f2aa42401237f1bc92d7a08505d0ee3d66
parentc7bc86a74c8ec8de96f25c4ff2bbfa159acd9f48
vt: fix regression warnings from KMS merge

Fix the following new sparse warnings in vt.c introduced by the commit
7eb7310243af08b5bc5d01128f6af8eab471f07e (vt,console,kdb: implement
atomic console enter/leave functions):

drivers/char/vt.c:197:5: warning: symbol 'saved_fg_console' was not declared. Should it be static?
drivers/char/vt.c:198:5: warning: symbol 'saved_last_console' was not declared. Should it be static?
drivers/char/vt.c:199:5: warning: symbol 'saved_want_console' was not declared. Should it be static?
drivers/char/vt.c:200:5: warning: symbol 'saved_vc_mode' was not declared. Should it be static?

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: Andrew Morton <akpm@linux-foundation.org>
drivers/char/vt.c