]> git.karo-electronics.de Git - linux-beck.git/commit
Make /dev/port conditional on config symbol
authorRussell King <rmk+lkml@arm.linux.org.uk>
Tue, 8 May 2007 07:28:17 +0000 (00:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:07 +0000 (11:15 -0700)
commit4f911d64e04a44c47985be30f978fb3c2efcee0c
tree552930a588e6ca37a0fe462d325c2e26be3693f3
parent62456726d715042e1976b830c59fd73f41c4aaa6
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>
drivers/char/Kconfig
drivers/char/mem.c