2002-11-23 06:12:36

by Rusty Lynch

[permalink] [raw]
Subject: [Tiny PATCH]driver/char/Kconfig bug

VT support requires drivers/char/keyboard.c which makes function
calls implemented in drivers/input/, so that attempting to set
CONFIG_INPUT=m or just not setting CONFIG_INPUT will result in a
compile error if CONFIG_VT is on.

Here is a trivial patch against 2.5.49.

-rustyl

--- drivers/char/Kconfig.orig 2002-11-22 22:05:29.000000000 -0800
+++ drivers/char/Kconfig 2002-11-22 22:03:56.000000000 -0800
@@ -6,6 +6,7 @@

config VT
bool "Virtual terminal"
+ requires INPUT=y
---help---
If you say Y here, you will get support for terminal devices with
display and keyboard devices. These are called "virtual" because you