From: Jiri Kosina Date: Tue, 18 Feb 2014 08:40:17 +0000 (+0100) Subject: HID: cp2112: can't be used without gpio support X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~10573^2~4^2~7^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a47dc4d8cfd226b3ba0bc7daffd107e4b898a165;p=mirror_ubuntu-artful-kernel.git 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 --- diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 5eaf0db27ec0..669cc19573ae 100644 --- a/drivers/hid/Kconfig +++ b/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