]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/android/Kconfig
staging: android: Allow compile test of GPIO consumers if !GPIOLIB
[karo-tx-linux.git] / drivers / staging / android / Kconfig
index 24d657b3ab9946d0166198c213c025843f204aad..68307121c9c18830ed88477ad152e5188cec0537 100644 (file)
@@ -20,7 +20,8 @@ config ANDROID_TIMED_OUTPUT
 
 config ANDROID_TIMED_GPIO
        tristate "Android timed gpio driver"
-       depends on GPIOLIB && ANDROID_TIMED_OUTPUT
+       depends on GPIOLIB || COMPILE_TEST
+       depends on ANDROID_TIMED_OUTPUT
        default n
         ---help---
          Unlike generic gpio is to allow programs to access and manipulate gpio