qualcommbe: ipq95xx: Add patch fixing unmet dependency for QCOM PPE ipq9574-support
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 9 Dec 2024 17:25:45 +0000 (18:25 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 13 Dec 2024 11:20:36 +0000 (12:20 +0100)
Add patch fixing unmet dependency for QCOM PPE. This fix a compilation
error when SFP config is selected.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/qualcommbe/patches-6.6/305-net-ethernet-qualcomm-ppe-Fix-unmet-dependency-with-.patch [new file with mode: 0644]

diff --git a/target/linux/qualcommbe/patches-6.6/305-net-ethernet-qualcomm-ppe-Fix-unmet-dependency-with-.patch b/target/linux/qualcommbe/patches-6.6/305-net-ethernet-qualcomm-ppe-Fix-unmet-dependency-with-.patch
new file mode 100644 (file)
index 0000000..a2c7061
--- /dev/null
@@ -0,0 +1,35 @@
+From a0a04487554ea21db5eaf04f81fc159386a7477d Mon Sep 17 00:00:00 2001
+From: Christian Marangi <ansuelsmth@gmail.com>
+Date: Mon, 9 Dec 2024 18:19:06 +0100
+Subject: [PATCH] net: ethernet: qualcomm: ppe: Fix unmet dependency with
+ QCOM_PPE
+
+Fix unmet dependency with QCOM_PPE on selecting SFP.
+
+WARNING: unmet direct dependencies detected for SFP
+  Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && I2C [=y] && PHYLINK [=y] && (HWMON [=m] || HWMON [=m]=n [=n])
+  Selected by [y]:
+  - QCOM_PPE [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_QUALCOMM [=y] && HAS_IOMEM [=y] && OF [=y] && COMMON_CLK [=y]
+
+This permit correct compilation of the modules with SFP enabled.
+
+Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
+---
+ drivers/net/ethernet/qualcomm/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/net/ethernet/qualcomm/Kconfig b/drivers/net/ethernet/qualcomm/Kconfig
+index a96f6acd4561..364d7e8ea7bf 100644
+--- a/drivers/net/ethernet/qualcomm/Kconfig
++++ b/drivers/net/ethernet/qualcomm/Kconfig
+@@ -68,7 +68,6 @@ config QCOM_PPE
+       select REGMAP_MMIO
+       select PHYLINK
+       select PCS_QCOM_IPQ_UNIPHY
+-      select SFP
+       help
+         This driver supports the Qualcomm Technologies, Inc. packet
+         process engine (PPE) available with IPQ SoC. The PPE houses
+-- 
+2.45.2
+