kernel: Remove AutoLoad for legacy usb gadget modules
These modules usually require some special arguments to customize the emulated device and they should be loaded manually by users. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
parent
6e0ae87a98
commit
b05b16f09b
1 changed files with 3 additions and 4 deletions
|
@ -131,7 +131,6 @@ define KernelPackage/usb-gadget-ehci-debug
|
||||||
CONFIG_USB_G_DBGP_PRINTK=n
|
CONFIG_USB_G_DBGP_PRINTK=n
|
||||||
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite +kmod-usb-gadget-serial
|
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite +kmod-usb-gadget-serial
|
||||||
FILES:=$(LINUX_DIR)/drivers/usb/gadget/legacy/g_dbgp.ko
|
FILES:=$(LINUX_DIR)/drivers/usb/gadget/legacy/g_dbgp.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,52,g_dbgp)
|
|
||||||
$(call AddDepends/usb)
|
$(call AddDepends/usb)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -154,7 +153,7 @@ define KernelPackage/usb-gadget-eth
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko
|
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm g_ether)
|
AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm)
|
||||||
$(call AddDepends/usb)
|
$(call AddDepends/usb)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -175,7 +174,7 @@ define KernelPackage/usb-gadget-serial
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko
|
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,52,usb_f_acm g_serial)
|
AUTOLOAD:=$(call AutoLoad,52,usb_f_acm)
|
||||||
$(call AddDepends/usb)
|
$(call AddDepends/usb)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -192,7 +191,7 @@ define KernelPackage/usb-gadget-mass-storage
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_mass_storage.ko \
|
$(LINUX_DIR)/drivers/usb/gadget/function/usb_f_mass_storage.ko \
|
||||||
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_mass_storage.ko
|
$(LINUX_DIR)/drivers/usb/gadget/legacy/g_mass_storage.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,52,usb_f_mass_storage g_mass_storage)
|
AUTOLOAD:=$(call AutoLoad,52,usb_f_mass_storage)
|
||||||
$(call AddDepends/usb)
|
$(call AddDepends/usb)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue