mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
kernel: mark kmod-usb-serial-wwan as hidden
The kconfig symbol is an invisible one since its introduction. It is not supposed to be enabled on its own. Resolves FS#1821 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
4b2ab533d4
commit
4bf9bec361
@ -936,6 +936,7 @@ define KernelPackage/usb-serial-wwan
|
|||||||
TITLE:=Support for GSM and CDMA modems
|
TITLE:=Support for GSM and CDMA modems
|
||||||
KCONFIG:=CONFIG_USB_SERIAL_WWAN
|
KCONFIG:=CONFIG_USB_SERIAL_WWAN
|
||||||
FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
|
FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
|
||||||
|
HIDDEN:=1
|
||||||
AUTOLOAD:=$(call AutoProbe,usb_wwan)
|
AUTOLOAD:=$(call AutoProbe,usb_wwan)
|
||||||
$(call AddDepends/usb-serial)
|
$(call AddDepends/usb-serial)
|
||||||
endef
|
endef
|
||||||
@ -949,11 +950,10 @@ $(eval $(call KernelPackage,usb-serial-wwan))
|
|||||||
|
|
||||||
define KernelPackage/usb-serial-option
|
define KernelPackage/usb-serial-option
|
||||||
TITLE:=Support for Option HSDPA modems
|
TITLE:=Support for Option HSDPA modems
|
||||||
DEPENDS:=+kmod-usb-serial-wwan
|
|
||||||
KCONFIG:=CONFIG_USB_SERIAL_OPTION
|
KCONFIG:=CONFIG_USB_SERIAL_OPTION
|
||||||
FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
|
FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,option)
|
AUTOLOAD:=$(call AutoProbe,option)
|
||||||
$(call AddDepends/usb-serial)
|
$(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/usb-serial-option/description
|
define KernelPackage/usb-serial-option/description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user