From 4f911d64e04a44c47985be30f978fb3c2efcee0c Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 8 May 2007 00:28:17 -0700 Subject: Make /dev/port conditional on config symbol Instead of having /dev/port support dependent in multiple places on a string of preprocessor symbols, define a new configuration directive for it. This ensures that all four places remain consistent with each other. Signed-off-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/char/Kconfig') diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index a26d91743b2..eeb5d9693ab 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -1071,5 +1071,11 @@ config TELCLOCK /sys/devices/platform/telco_clock, with a number of files for controlling the behavior of this hardware. +config DEVPORT + bool + depends on !M68K + depends on ISA || PCI + default y + endmenu -- cgit v1.2.3