summaryrefslogtreecommitdiffstats
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorRussell King2007-05-08 09:28:17 +0200
committerLinus Torvalds2007-05-08 20:15:07 +0200
commit4f911d64e04a44c47985be30f978fb3c2efcee0c (patch)
tree552930a588e6ca37a0fe462d325c2e26be3693f3 /drivers/char/Kconfig
parentFix 82875 PCI setup (diff)
downloadkernel-qcow2-linux-4f911d64e04a44c47985be30f978fb3c2efcee0c.tar.gz
kernel-qcow2-linux-4f911d64e04a44c47985be30f978fb3c2efcee0c.tar.xz
kernel-qcow2-linux-4f911d64e04a44c47985be30f978fb3c2efcee0c.zip
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 <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index a26d91743b24..eeb5d9693aba 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