]> Git Repo - linux.git/commitdiff
HID: cp2112: explicitly require irqchip support in gpiolib
authorJiri Kosina <[email protected]>
Wed, 30 Nov 2016 09:04:51 +0000 (10:04 +0100)
committerJiri Kosina <[email protected]>
Wed, 30 Nov 2016 09:19:52 +0000 (10:19 +0100)
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 <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
drivers/hid/Kconfig

index cd4599c0523bf62e2c4ebd886c51763fb6307bb5..a5b3902fb266402aa7833d4550bc5a33b3da4257 100644 (file)
@@ -214,7 +214,7 @@ config HID_CMEDIA
 
 config HID_CP2112
        tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support"
-       depends on USB_HID && I2C && GPIOLIB
+       depends on USB_HID && I2C && GPIOLIB && GPIOLIB_IRQCHIP
        ---help---
        Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge.
        This is a HID device driver which registers as an i2c adapter
This page took 0.057272 seconds and 4 git commands to generate.