Verified Commit 2a797d47 authored by Michal Hrusecky's avatar Michal Hrusecky 🐭
Browse files

kernel: More explicit usb3 dependencies

parent af655e86
......@@ -1654,9 +1654,6 @@ endef
$(eval $(call KernelPackage,usbmon))
XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,xhci-hcd xhci-pci xhci-plat-hcd))
XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES))
define KernelPackage/usb3
TITLE:=Support for USB3 controllers
DEPENDS:= \
......@@ -1669,8 +1666,10 @@ define KernelPackage/usb3
CONFIG_USB_XHCI_MVEBU=y \
CONFIG_USB_XHCI_HCD_DEBUGGING=n
FILES:= \
$(XHCI_FILES)
AUTOLOAD:=$(call AutoLoad,54,$(XHCI_AUTOLOAD),1)
$(LINUX_DIR)/drivers/usb/host/xhci-hcd.ko \
$(LINUX_DIR)/drivers/usb/host/xhci-pci.ko \
$(LINUX_DIR)/drivers/usb/host/xhci-plat-hcd.ko
AUTOLOAD:=$(call AutoLoad,54,xhci-hcd xhci-pci xhci-plat-hcd,1)
$(call AddDepends/usb)
endef
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment