[openwrt/openwrt] kernel: usb: move phy-qcom-ipq806x-usb to ipq806x modules.mk

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 12 20:12:25 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/87e92d50e577851743663763bc749fe18aa294c7

commit 87e92d50e577851743663763bc749fe18aa294c7
Author: Ansuel Smith <ansuelsmth at gmail.com>
AuthorDate: Sun Aug 9 16:31:05 2020 +0200

    kernel: usb: move phy-qcom-ipq806x-usb to ipq806x modules.mk
    
    This driver is only used by ipq806x SoCs. Move it there and drop
    dependency from ipq40xx since it's not used anywere.
    
    Signed-off-by: Ansuel Smith <ansuelsmth at gmail.com>
    [rebase on changes to previous patches]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
    Tested-by: Paul Blazejowski <paulb at blazebox.homeip.net> [R7800]
---
 package/kernel/linux/modules/usb.mk | 18 ------------------
 target/linux/ipq806x/modules.mk     | 16 ++++++++++++++++
 2 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 5db0244968..fc411c5a54 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -70,24 +70,6 @@ endef
 $(eval $(call KernelPackage,usb-phy-nop))
 
 
-define KernelPackage/phy-qcom-ipq806x-usb
-  TITLE:=Qualcomm IPQ806x DWC3 USB PHY driver
-  DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x)
-  KCONFIG:= CONFIG_PHY_QCOM_IPQ806X_USB
-  FILES:= \
-    $(LINUX_DIR)/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.ko
-  AUTOLOAD:=$(call AutoLoad,45,phy-qcom-ipq806x-usb,1)
-  $(call AddDepends/usb)
-endef
-
-define KernelPackage/phy-qcom-ipq806x-usb/description
- This driver provides support for the integrated DesignWare
- USB3 IP Core within the QCOM SoCs.
-endef
-
-$(eval $(call KernelPackage,phy-qcom-ipq806x-usb))
-
-
 define KernelPackage/phy-ath79-usb
   TITLE:=Support for ATH79 USB PHY
   KCONFIG:=CONFIG_PHY_AR7100_USB \
diff --git a/target/linux/ipq806x/modules.mk b/target/linux/ipq806x/modules.mk
new file mode 100644
index 0000000000..605504b0c3
--- /dev/null
+++ b/target/linux/ipq806x/modules.mk
@@ -0,0 +1,16 @@
+define KernelPackage/phy-qcom-ipq806x-usb
+  TITLE:=Qualcomm IPQ806x DWC3 USB PHY driver
+  DEPENDS:=@TARGET_ipq806x
+  KCONFIG:= CONFIG_PHY_QCOM_IPQ806X_USB
+  FILES:= \
+    $(LINUX_DIR)/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.ko
+  AUTOLOAD:=$(call AutoLoad,45,phy-qcom-ipq806x-usb,1)
+  $(call AddDepends/usb)
+endef
+
+define KernelPackage/phy-qcom-ipq806x-usb/description
+ This driver provides support for the integrated DesignWare
+ USB3 IP Core within the QCOM SoCs.
+endef
+
+$(eval $(call KernelPackage,phy-qcom-ipq806x-usb))



More information about the lede-commits mailing list