Staging: dream: Kconfig fix for non-HTC hardware
authorPavel Machek <pavel@ucw.cz>
Sat, 13 Mar 2010 08:22:39 +0000 (09:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:37 +0000 (11:35 -0700)
> All of the Kconfig menu items under "config DREAM" should be listed
> indented under the 'DREAM' symbol, but they are not. (using xconfig)
> In menuconfig, the DREAM symbol isn't listed (since it depends on BROKEN),
> but the other (subordinate) symbols are still listed.

Ok, this should fix it ... or at least make it better an non-issue for
people with non-HTC hardware.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/dream/Kconfig

index 4afa081c870c97708bc597de5214b7c571e7ad97..707cc71a8a6a62f4fea0cff359f6a4118b796e68 100644 (file)
@@ -1,16 +1,14 @@
 config DREAM
-       tristate "HTC Dream support"
-       depends on BROKEN
+       tristate "HTC Dream support"
+       depends on MACH_TROUT
 
+if DREAM
 source "drivers/staging/dream/smd/Kconfig"
 
 source "drivers/staging/dream/camera/Kconfig"
 
-
 config INPUT_GPIO
        tristate "GPIO driver support"
        help
          Say Y here if you want to support gpio based keys, wheels etc...
-
-
-
+endif