Don't ask twice about not including staging drivers
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 9 Nov 2008 20:47:04 +0000 (12:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 9 Nov 2008 20:47:04 +0000 (12:47 -0800)
The "Exclude staging drivers" question is there so that we don't build
staging drivers for allyesconfig or allnoconfig settings, but it's very
irritating when you've already said "no" to staging drivers earlier.

There is absolutely no point in declining twice - once you've declined
the staging drivers, you're done.

So make the second question depend on the first question having been
answered in the affirmative.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/staging/Kconfig

index 0a49cd788a75e7b3385d28d2bbc170a0ff127d81..c95b286a1239e8a6cbdb4da4a292e5d85c9079f1 100644 (file)
@@ -23,7 +23,7 @@ menuconfig STAGING
 
 
 config STAGING_EXCLUDE_BUILD
-       bool "Exclude Staging drivers from being built"
+       bool "Exclude Staging drivers from being built" if STAGING
        default y
        ---help---
          Are you sure you really want to build the staging drivers?