Add the depends to the Android subsystem for the
Android Shared Memory support

Signed-off-by: Michael Trimarchi <[email protected]>
---
 init/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 9d036fe..bef9915 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -872,7 +872,7 @@ config AIO
 config ASHMEM
 	bool "Enable Android's Shared Memory Subsystem"
 	default n
-	depends on SHMEM || TINY_SHMEM
+	depends on (SHMEM || TINY_SHMEM) && ANDROID
 	help
 	  The ashmem subsystem is a new shared memory allocator, similar to
 	  POSIX SHM but with different behavior and sporting a simpler
-- 
1.6.3.3

Reply via email to