mfd: asic3 should depend on gpiolib
Samuel Ortiz [Tue, 24 Jun 2008 21:37:09 +0000 (23:37 +0200)]
Now that asic3 implements the gpiolib API, it should depend on it at
build time.

Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

drivers/mfd/Kconfig

index ae96bd6..260bade 100644 (file)
@@ -17,7 +17,7 @@ config MFD_SM501
 
 config MFD_ASIC3
        bool "Support for Compaq ASIC3"
-       depends on GENERIC_HARDIRQS && ARM
+       depends on GENERIC_HARDIRQS && HAVE_GPIO_LIB && ARM
         ---help---
          This driver supports the ASIC3 multifunction chip found on many
          PDAs (mainly iPAQ and HTC based ones)