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 0a49cd7..c95b286 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?