HID: cp2112: can't be used without gpio support
authorJiri Kosina <jkosina@suse.cz>
Tue, 18 Feb 2014 08:40:17 +0000 (09:40 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 18 Feb 2014 08:40:17 +0000 (09:40 +0100)
Add Kconfig driver dependency on GPIOLIB.

Reported-by: fengguang.wu@intel.com
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig

index 5eaf0db27ec0222902511261579d9caede9c88fb..669cc19573aeb78e825d75cf35d30b489a3b8cd0 100644 (file)
@@ -177,7 +177,7 @@ config HID_PRODIKEYS
 
 config HID_CP2112
        tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support"
-       depends on USB_HID && I2C
+       depends on USB_HID && I2C && GPIOLIB
        ---help---
        Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge.
        This is a HID device driver which registers as an i2c adapter