Browse Source

HID: cp2112: can't be used without gpio support

Add Kconfig driver dependency on GPIOLIB.

Reported-by: fengguang.wu@intel.com
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Jiri Kosina 11 years ago
parent
commit
a47dc4d8cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/hid/Kconfig

+ 1 - 1
drivers/hid/Kconfig

@@ -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