aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-08-05 11:35:08 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-08-05 14:10:42 +0200
commit3678881773c6257f0db8d343aaa903f54fd695f5 (patch)
tree7a09d0aef3cadbccbf0d7d3ae99b1e4845a61b49
parent8019410f566377d958e2bd23673d168742ab2f44 (diff)
downloadupstream-3678881773c6257f0db8d343aaa903f54fd695f5.tar.gz
upstream-3678881773c6257f0db8d343aaa903f54fd695f5.tar.bz2
upstream-3678881773c6257f0db8d343aaa903f54fd695f5.zip
kernel: usb-serial-cp210x: @GPIO_SUPPORT
all other drivers depend on @GPIO_SUPPORT rather than forcing CONFIG_GPIOLIB=y. (I wonder what would happen if someone decides to try UML with USBIP?) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-rw-r--r--package/kernel/linux/modules/usb.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 19c44f805b..8f0eac7522 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1541,8 +1541,8 @@ $(eval $(call KernelPackage,usb-hid))
define KernelPackage/usb-hid-cp2112
SUBMENU:=$(USB_MENU)
TITLE:=Silicon Labs CP2112 HID USB to SMBus Master Bridge
- KCONFIG:=CONFIG_GPIOLIB=y CONFIG_HID_CP2112
- DEPENDS:=+kmod-usb-hid +kmod-i2c-core
+ KCONFIG:=CONFIG_HID_CP2112
+ DEPENDS:=@GPIO_SUPPORT +kmod-usb-hid +kmod-i2c-core
FILES:=$(LINUX_DIR)/drivers/hid/hid-cp2112.ko
AUTOLOAD:=$(call AutoProbe,hid-cp2112)
endef