1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00

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>
This commit is contained in:
Christian Lamparter 2022-08-05 11:35:08 +02:00
parent 8019410f56
commit 3678881773

@ -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