2004-01-21 23:33:19

by Jun Sun

[permalink] [raw]
Subject: [BUG 2.6.1] missing 'console_driver' with CONFIG_VT but no CONFIG_VT_CONSOLE


See drivers/char/vt.c.

'console_driver' is defined only when CONFIG_VT_CONSOLE is set.
However it is used by vty_init() which is outside the scope
of CONFIG_VT_CONSOLE.

I think the fix is to move console_driver definition outside
CONFIG_VT_CONSOLE. See the attachment. Hopefully someone with
more knowledge on this can validate that.

Jun


Attachments:
(No filename) (344.00 B)
junk (496.00 B)
Download all attachments