hid: cp2112: select GPIOLIB_IRQCHIP instead of depending on it
PATCH 1/1 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 <[email protected]>
--- drivers/hid/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hid/Kconfig +2 -1
@@ -214,7 +214,8 @@ config HID_CMEDIA config HID_CP2112 tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support" - depends on USB_HID && I2C && GPIOLIB && GPIOLIB_IRQCHIP + depends on USB_HID && I2C && GPIOLIB + select 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
Signature · 1 line
2.9.3
Quoted 6 lines · Bartosz Golaszewski
GPIOLIB_IRQCHIPis not visible to user, so we can't depend on it.Depend on GPIOLIB but select
GPIOLIB_IRQCHIP.Signed-off-by Bartosz Golaszewski <[email protected]>---
Makes sense. Good catch
Quoted 20 lines
drivers/hid/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/hid/Kconfig +2
-1@@ -214,7 +214,8 @@ config HID_CMEDIA config HID_CP2112 tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support" - depends on USB_HID && I2C && GPIOLIB && GPIOLIB_IRQCHIP + depends on USB_HID && I2C && GPIOLIB + select 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 adapterSignature · 1 line
2.9.3
Quoted 14 lines · Bartosz Golaszewski
GPIOLIB_IRQCHIPis not visible to user, so we can't depend on it.Depend on GPIOLIB but select
GPIOLIB_IRQCHIP.Signed-off-by Bartosz Golaszewski <[email protected]>--- drivers/hid/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/hid/Kconfig +0
-0
drivers/hid/Kconfig config HID_CMEDIA · line 221
Quoted 9 lines
drivers/hid/Kconfig +2
-1@@ -214,7 +214,8 @@ config HID_CMEDIA config HID_CP2112 tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support" - depends on USB_HID && I2C && GPIOLIB && GPIOLIB_IRQCHIP + depends on USB_HID && I2C && GPIOLIB + select 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
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs