[PATCH 8/9] staging: ion: Add X86 dependency for ION_POOL_CACHE_POLICY
From: John Stultz
Date: Sat Jan 30 2016 - 01:09:38 EST
From: Daniel Rosenberg <drosen@xxxxxxxxxx>
ION_POOL_CACHE_POLICY uses x86 specific commands.
Only allow it to be used for x86.
Cc: Android Kernel Team <kernel-team@xxxxxxxxxxx>
Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Laura Abbott <labbott@xxxxxxxxxx>
Cc: Sumit Semwal <sumit.semwal@xxxxxxxxxx>
Signed-off-by: Daniel Rosenberg <drosen@xxxxxxxxxx>
Signed-off-by: John Stultz <john.stultz@xxxxxxxxxx>
---
drivers/staging/android/ion/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig
index a15ff29..e2ee3c3 100644
--- a/drivers/staging/android/ion/Kconfig
+++ b/drivers/staging/android/ion/Kconfig
@@ -43,7 +43,7 @@ source "drivers/staging/android/ion/hisilicon/Kconfig"
config ION_POOL_CACHE_POLICY
bool "Ion set page pool cache policy"
- depends on ION
+ depends on ION && X86
default y if X86
help
Choose this option if need to explicity set cache policy of the
--
1.9.1