diff options
author | Jiri Kosina <jkosina@suse.cz> | 2016-11-30 04:04:51 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-11-30 04:19:52 -0500 |
commit | 13c28b029708d934dc80f77f83f85790f264080a (patch) | |
tree | ffc83c81a914d6c92e38d31ddccf2b512f42b54c | |
parent | 13de9cca514ed63604263cad87ca8cb36e9b6489 (diff) |
HID: cp2112: explicitly require irqchip support in gpiolib
Since the gpio-as-irq support has been added, the driver now depends
on proper support being available in gpiolib.
Fixes: 13de9cca514e ("HID: cp2112: add IRQ chip handling")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/hid/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index cd4599c0523b..a5b3902fb266 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -214,7 +214,7 @@ config HID_CMEDIA | |||
214 | 214 | ||
215 | config HID_CP2112 | 215 | config HID_CP2112 |
216 | tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support" | 216 | tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support" |
217 | depends on USB_HID && I2C && GPIOLIB | 217 | depends on USB_HID && I2C && GPIOLIB && GPIOLIB_IRQCHIP |
218 | ---help--- | 218 | ---help--- |
219 | Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge. | 219 | Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge. |
220 | This is a HID device driver which registers as an i2c adapter | 220 | This is a HID device driver which registers as an i2c adapter |