[PATCH] Simplify the VIDEO_SAA7134_OSS Kconfig dependency line
authorJean Delvare <khali@linux-fr.org>
Thu, 29 Dec 2005 21:07:30 +0000 (22:07 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 29 Dec 2005 21:21:16 +0000 (13:21 -0800)
Thanks to Roman Zippel for the suggestion.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
[ Short explanation: Kconfig uses ternary math: n/m/y, and !m is m ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/saa7134/Kconfig

index 86e1bb391a4e1ea9a62d73e74245e0d24e852297..8a5c3e71b37d193be112f9da6f65f6c38d0c98ff 100644 (file)
@@ -25,7 +25,7 @@ config VIDEO_SAA7134_ALSA
 
 config VIDEO_SAA7134_OSS
        tristate "Philips SAA7134 DMA audio support (OSS, DEPRECATED)"
-       depends on VIDEO_SAA7134 && SOUND_PRIME && (!VIDEO_SAA7134_ALSA || (VIDEO_SAA7134_ALSA=m && m))
+       depends on VIDEO_SAA7134 && SOUND_PRIME && !VIDEO_SAA7134_ALSA
        ---help---
          This is a video4linux driver for direct (DMA) audio in
          Philips SAA713x based TV cards using OSS