Skip to content

Commit a47dc4d

Browse files
author
Jiri Kosina
committed
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>
1 parent 490051a commit a47dc4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/hid/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ config HID_PRODIKEYS
177177

178178
config HID_CP2112
179179
tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support"
180-
depends on USB_HID && I2C
180+
depends on USB_HID && I2C && GPIOLIB
181181
---help---
182182
Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge.
183183
This is a HID device driver which registers as an i2c adapter

0 commit comments

Comments
 (0)