Browse Source

Staging: android: fix Kconfig issues

Wrap all ANDROID config items with a #if to keep from asking if you want
specific Android drivers even if you say N to CONFIG_ANDROID

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 years ago
parent
commit
d604fc995e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      drivers/staging/android/Kconfig

+ 4 - 0
drivers/staging/android/Kconfig

@@ -6,6 +6,8 @@ config ANDROID
 	---help---
 	---help---
 	  Enable support for various drivers needed on the Android platform
 	  Enable support for various drivers needed on the Android platform
 
 
+if ANDROID
+
 config ANDROID_BINDER_IPC
 config ANDROID_BINDER_IPC
 	bool "Android Binder IPC Driver"
 	bool "Android Binder IPC Driver"
 	default n
 	default n
@@ -88,4 +90,6 @@ config ANDROID_LOW_MEMORY_KILLER
 	---help---
 	---help---
 	  Register processes to be killed when memory is low
 	  Register processes to be killed when memory is low
 
 
+endif # if ANDROID
+
 endmenu
 endmenu