diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2017-03-12 14:56:08 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-03-21 10:30:41 -0400 |
commit | ac34b970a9ec536c59faa8cdd5678daeae8b9dd3 (patch) | |
tree | 4cda050ee31aa7185e1433d93d5eda5d70d31783 | |
parent | 81bbef23db51c0b450d90607fbbc2ad80ee0d43f (diff) |
HID: cp2112: select GPIOLIB_IRQCHIP instead of depending on it
GPIOLIB_IRQCHIP is not visible to user, so we can't depend on it.
Depend on GPIOLIB but select GPIOLIB_IRQCHIP.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/hid/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 1aeb80e52424..00e2809724bd 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -214,7 +214,8 @@ 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 && GPIOLIB_IRQCHIP | 217 | depends on USB_HID && I2C && GPIOLIB |
218 | select GPIOLIB_IRQCHIP | ||
218 | ---help--- | 219 | ---help--- |
219 | Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge. | 220 | Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge. |
220 | This is a HID device driver which registers as an i2c adapter | 221 | This is a HID device driver which registers as an i2c adapter |